diff options
author | Chao Yu <yuchao0@huawei.com> | 2019-11-01 10:53:23 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-11-19 23:41:21 +0100 |
commit | c45d6002ff7a322022560e9b19ad867b01fec77f (patch) | |
tree | a512a28a4f1908dff9eadd1eb5f5bdf73d9027bf /fs/f2fs/inode.c | |
parent | f2fs: fix potential overflow (diff) | |
download | linux-c45d6002ff7a322022560e9b19ad867b01fec77f.tar.xz linux-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/inode.c')
-rw-r--r-- | fs/f2fs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c index 386ad54c13c3..502bd491336a 100644 --- a/fs/f2fs/inode.c +++ b/fs/f2fs/inode.c @@ -681,7 +681,7 @@ retry: err = f2fs_truncate(inode); if (time_to_inject(sbi, FAULT_EVICT_INODE)) { - f2fs_show_injection_info(FAULT_EVICT_INODE); + f2fs_show_injection_info(sbi, FAULT_EVICT_INODE); err = -EIO; } |