Skip to content

Commit 1f07cc5

Browse files
Jack QiuJaegeuk Kim
authored andcommitted
f2fs: correct comment of f2fs_exist_written_data
Function parameter mode could be TRANS_DIR_INO. Signed-off-by: Jack Qiu <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
1 parent b2f57a8 commit 1f07cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/f2fs/checkpoint.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ void f2fs_remove_ino_entry(struct f2fs_sb_info *sbi, nid_t ino, int type)
523523
__remove_ino_entry(sbi, ino, type);
524524
}
525525

526-
/* mode should be APPEND_INO or UPDATE_INO */
526+
/* mode should be APPEND_INO, UPDATE_INO or TRANS_DIR_INO */
527527
bool f2fs_exist_written_data(struct f2fs_sb_info *sbi, nid_t ino, int mode)
528528
{
529529
struct inode_management *im = &sbi->im[mode];

0 commit comments

Comments
 (0)