]> www.infradead.org Git - users/hch/block.git/commit
mm: lift the nowait checks into generic_file_buffered_read_pagenotuptodate
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Oct 2020 15:15:09 +0000 (16:15 +0100)
committerChristoph Hellwig <hch@lst.de>
Fri, 30 Oct 2020 15:38:11 +0000 (16:38 +0100)
commit92099e3dddd4b6b5e68a1e371e37d40a333cd65d
treefd8d9fa627650db2558ecc19d8bd92aa2ac8f2a0
parentdad6a11be52ee21315f0b5158794e272a3b7a8de
mm: lift the nowait checks into generic_file_buffered_read_pagenotuptodate

Move the checks for IOCB_NOWAIT and IOCB_WAITQ from the only caller into
generic_file_buffered_read_pagenotuptodate, which simplifies the error
unwinding.

Signed-off-by: Christoph Hellwig <hch@lst.de>
mm/filemap.c