Commit f4c51473 authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by Christian Brauner

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: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Link: https://lore.kernel.org/r/20240530202110.2653630-12-willy@infradead.orgSigned-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 86b3d5f6
......@@ -2699,7 +2699,6 @@ static int reiserfs_write_folio(struct folio *folio,
}
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment