summaryrefslogtreecommitdiff
path: root/fs/f2fs/data.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-03-29 23:22:54 +0300
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-04-01 21:40:44 +0300
commit0fb5b2ebc0422fccbb41b09ff38ff7f27616294d (patch)
treeb5d8536d349b4ae082588ccca429c3ddcc887f14 /fs/f2fs/data.c
parent0f2523366386f29d56040887555989a1de548625 (diff)
downloadlinux-0fb5b2ebc0422fccbb41b09ff38ff7f27616294d.tar.xz
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>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r--fs/f2fs/data.c2
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;
}