summaryrefslogtreecommitdiff
path: root/fs/f2fs
diff options
context:
space:
mode:
authorJack Qiu <jack.qiu@huawei.com>2020-07-25 18:05:27 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2020-08-03 10:32:43 -0700
commit1f07cc58bc92bdea261b7cca12eec2f2827edab6 (patch)
tree176fe5a7bd42ffd6673d6ae39cf28c79c6c83531 /fs/f2fs
parentb2f57a8e6bc987ba2c8defb507c98aff66c94fc5 (diff)
f2fs: correct comment of f2fs_exist_written_data
Function parameter mode could be TRANS_DIR_INO. Signed-off-by: Jack Qiu <jack.qiu@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/checkpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index f86c6ba7cb82..8c782d3f324f 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -523,7 +523,7 @@ void f2fs_remove_ino_entry(struct f2fs_sb_info *sbi, nid_t ino, int type)
__remove_ino_entry(sbi, ino, type);
}
-/* mode should be APPEND_INO or UPDATE_INO */
+/* mode should be APPEND_INO, UPDATE_INO or TRANS_DIR_INO */
bool f2fs_exist_written_data(struct f2fs_sb_info *sbi, nid_t ino, int mode)
{
struct inode_management *im = &sbi->im[mode];