Skip to content

Commit f4c5147

Browse files
Matthew Wilcox (Oracle)brauner
authored andcommitted
reiserfs: Remove call to folio_set_error()
The error flag is never tested for reiserfs folios, so stop setting it. Cc: [email protected] Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
1 parent 86b3d5f commit f4c5147

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/reiserfs/inode.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2699,7 +2699,6 @@ static int reiserfs_write_folio(struct folio *folio,
26992699
}
27002700
bh = bh->b_this_page;
27012701
} while (bh != head);
2702-
folio_set_error(folio);
27032702
BUG_ON(folio_test_writeback(folio));
27042703
folio_start_writeback(folio);
27052704
folio_unlock(folio);

0 commit comments

Comments
 (0)