Messages in this thread | | | Date | Thu, 29 Oct 2020 11:32:55 +0100 | From | Greg KH <> | Subject | Re: [PATCH 3/3] proc: switch over direct seq_read method calls to seq_read_iter |
| |
On Thu, Oct 29, 2020 at 11:09:50AM +0100, Christoph Hellwig wrote: > Switch over all instances used directly as methods using these sed > expressions: > > sed -i -e 's/\.proc_read\(\s*=\s*\)seq_read/\.proc_read_iter\1seq_read_iter/g' > > This fixes a problem with the Android bionic test suite using /proc/cpuinfo > and /proc/version for its splice based tests. > > Fixes: 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops") > Reported-by: Greg KH <gregkh@linuxfoundation.org> > Signed-off-by: Christoph Hellwig <hch@lst.de>
I tested some of these files, so might as well add my "mark":
Tested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| |