summaryrefslogtreecommitdiff
path: root/fs/f2fs/inode.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2020-02-27 14:30:05 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2020-03-10 19:18:33 +0300
commit7a88ddb56077d07257a5d0393a4be13e424ca755 (patch)
tree07aadedd5fcf7c7e85021148d5baaeea23225d6d /fs/f2fs/inode.c
parent3addc1aed38234e21cb6f9e4df0f6795ec075059 (diff)
downloadlinux-7a88ddb56077d07257a5d0393a4be13e424ca755.tar.xz
f2fs: fix inconsistent comments
Lack of maintenance on comments may mislead developers, fix them. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inode.c')
-rw-r--r--fs/f2fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c
index 9b49832296cf..45aff90af5c5 100644
--- a/fs/f2fs/inode.c
+++ b/fs/f2fs/inode.c
@@ -776,7 +776,7 @@ no_delete:
else
f2fs_inode_synced(inode);
- /* ino == 0, if f2fs_new_inode() was failed t*/
+ /* for the case f2fs_new_inode() was failed, .i_ino is zero, skip it */
if (inode->i_ino)
invalidate_mapping_pages(NODE_MAPPING(sbi), inode->i_ino,
inode->i_ino);