aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2019-11-01 17:53:23 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2019-11-19 14:41:21 -0800
commitc45d6002ff7a322022560e9b19ad867b01fec77f (patch)
treea512a28a4f1908dff9eadd1eb5f5bdf73d9027bf /fs/f2fs/node.c
parentf2fs: fix potential overflow (diff)
downloadlinux-dev-c45d6002ff7a322022560e9b19ad867b01fec77f.tar.xz
linux-dev-c45d6002ff7a322022560e9b19ad867b01fec77f.zip
f2fs: show f2fs instance in printk_ratelimited
As Eric mentioned, bare printk{,_ratelimited} won't show which filesystem instance these message is coming from, this patch tries to show fs instance with sb->s_id field in all places we missed before. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index 06fd6d77d34b..3314a0f3405e 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -2398,7 +2398,7 @@ bool f2fs_alloc_nid(struct f2fs_sb_info *sbi, nid_t *nid)
struct free_nid *i = NULL;
retry:
if (time_to_inject(sbi, FAULT_ALLOC_NID)) {
- f2fs_show_injection_info(FAULT_ALLOC_NID);
+ f2fs_show_injection_info(sbi, FAULT_ALLOC_NID);
return false;
}