diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-03-29 22:22:54 +0200 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-04-01 20:40:44 +0200 |
commit | 0fb5b2ebc0422fccbb41b09ff38ff7f27616294d (patch) | |
tree | b5d8536d349b4ae082588ccca429c3ddcc887f14 | |
parent | ext4: Correct ext4_journalled_dirty_folio() conversion (diff) | |
download | linux-0fb5b2ebc0422fccbb41b09ff38ff7f27616294d.tar.xz linux-0fb5b2ebc0422fccbb41b09ff38ff7f27616294d.zip |
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) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/f2fs/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index c92920c8661d..8e0c2e773c8d 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; } |