diff mbox series

[1/3] fuse: remove call to SetPageError

Message ID 20240809162221.2582364-1-willy@infradead.org (mailing list archive)
State New
Headers show
Series [1/3] fuse: remove call to SetPageError | expand

Commit Message

Matthew Wilcox Aug. 9, 2024, 4:22 p.m. UTC
part one

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
---
 fs/fuse/file.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index b57ce4157640..4bf452d5ba9d 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -939,8 +939,6 @@  static void fuse_readpages_end(struct fuse_mount *fm, struct fuse_args *args,
 
 		if (!err)
 			SetPageUptodate(page);
-		else
-			SetPageError(page);
 		unlock_page(page);
 		put_page(page);
 	}