nfs: Leave pages in the pagecache if readpage failed
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 16 May 2022 14:30:09 +0000 (10:30 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Jun 2022 12:51:07 +0000 (08:51 -0400)
commit0b768a9610c6de9811c6d33900bebfb665192ee1
treee26e84d997a0486aa270e0bda0be2f4cb9fac1af
parent6e8e79fc84435c159891182cddab8e7784e1b3b2
nfs: Leave pages in the pagecache if readpage failed

The pagecache handles readpage failing by itself; it doesn't want
filesystems to remove pages from under it.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
fs/nfs/read.c