Skip to content

Commit 0fb5b2e

Browse files
author
Matthew Wilcox (Oracle)
committed
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: 4f5e34f ("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>
1 parent 0f25233 commit 0fb5b2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/f2fs/data.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3571,7 +3571,7 @@ static bool f2fs_dirty_data_folio(struct address_space *mapping,
35713571
f2fs_update_dirty_folio(inode, folio);
35723572
return true;
35733573
}
3574-
return true;
3574+
return false;
35753575
}
35763576

35773577

0 commit comments

Comments
 (0)