From: Matthew Wilcox (Oracle) Date: Tue, 29 Mar 2022 20:22:54 +0000 (-0400) Subject: f2fs: Correct f2fs_dirty_data_folio() conversion X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0fb5b2ebc0422fccbb41b09ff38ff7f27616294d;p=linux.git f2fs: Correct f2fs_dirty_data_folio() conversion I got the return value wrong. Very little checks the return value from set_page_dirty(), so nobody noticed during testing. Fixes: 4f5e34f71318 ("f2fs: Convert f2fs_set_data_page_dirty to f2fs_dirty_data_folio") Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Christoph Hellwig Reviewed-by: Al Viro Acked-by: Al Viro --- diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index c92920c8661d0..8e0c2e773c8d9 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -3571,7 +3571,7 @@ static bool f2fs_dirty_data_folio(struct address_space *mapping, f2fs_update_dirty_folio(inode, folio); return true; } - return true; + return false; }