summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-05-30 21:21:03 +0100
committerChristian Brauner <brauner@kernel.org>2024-05-31 12:31:41 +0200
commitf4c51473d22a9c2847f5dde401cd15f29cee6708 (patch)
tree76e5b2a4b5a1c3b744ab673d20ab6e8762b5af1d /fs/reiserfs
parent86b3d5f6df0e60e87702a3991b09e56dfe6b0484 (diff)
downloadlinux-stable-f4c51473d22a9c2847f5dde401cd15f29cee6708.tar.gz
linux-stable-f4c51473d22a9c2847f5dde401cd15f29cee6708.tar.bz2
linux-stable-f4c51473d22a9c2847f5dde401cd15f29cee6708.zip
reiserfs: Remove call to folio_set_error()
The error flag is never tested for reiserfs folios, so stop setting it. Cc: reiserfs-devel@vger.kernel.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Link: https://lore.kernel.org/r/20240530202110.2653630-12-willy@infradead.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/reiserfs')
-rw-r--r--fs/reiserfs/inode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c
index c1daedc50f4c..9b43a81a6488 100644
--- a/fs/reiserfs/inode.c
+++ b/fs/reiserfs/inode.c
@@ -2699,7 +2699,6 @@ fail:
}
bh = bh->b_this_page;
} while (bh != head);
- folio_set_error(folio);
BUG_ON(folio_test_writeback(folio));
folio_start_writeback(folio);
folio_unlock(folio);