Skip to content

Commit 6dea74e

Browse files
Matthew Wilcox (Oracle)Jaegeuk Kim
authored andcommitted
f2fs: Fix __write_node_folio() conversion
This conversion moved the folio_unlock() to inside __write_node_folio(), but missed one caller so we had a double-unlock on this path. Cc: Christoph Hellwig <[email protected]> Cc: Chao Yu <[email protected]> Cc: Jaegeuk Kim <[email protected]> Reported-by: [email protected] Fixes: 80f31d2 (f2fs: return bool from __write_node_folio) Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
1 parent 19272b3 commit 6dea74e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/f2fs/node.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2078,7 +2078,6 @@ int f2fs_sync_node_pages(struct f2fs_sb_info *sbi,
20782078

20792079
if (!__write_node_folio(folio, false, &submitted,
20802080
wbc, do_balance, io_type, NULL)) {
2081-
folio_unlock(folio);
20822081
folio_batch_release(&fbatch);
20832082
ret = -EIO;
20842083
goto out;

0 commit comments

Comments
 (0)