summaryrefslogtreecommitdiff
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2020-02-24 19:20:19 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2020-02-27 10:16:45 -0800
commit097a7686503f3a7d5c3cce66a69b1e51f51d5a4f (patch)
tree3b485907189dda4eb5a8098177378d8c047911e3 /fs/f2fs/node.c
parent0b32dc186486822b636216985802ccf05c1a2c06 (diff)
f2fs: add missing function name in kernel message
Otherwise, we can not distinguish the exact location of messages, when there are more than one places printing same message. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.c')
-rw-r--r--fs/f2fs/node.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index e58c4c628834..d29774df0d64 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -1188,8 +1188,9 @@ int f2fs_remove_inode_page(struct inode *inode)
}
if (unlikely(inode->i_blocks != 0 && inode->i_blocks != 8)) {
- f2fs_warn(F2FS_I_SB(inode), "Inconsistent i_blocks, ino:%lu, iblocks:%llu",
- inode->i_ino, (unsigned long long)inode->i_blocks);
+ f2fs_warn(F2FS_I_SB(inode),
+ "f2fs_remove_inode_page: inconsistent i_blocks, ino:%lu, iblocks:%llu",
+ inode->i_ino, (unsigned long long)inode->i_blocks);
set_sbi_flag(F2FS_I_SB(inode), SBI_NEED_FSCK);
}