summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2019-02-26 19:01:15 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2019-03-12 18:59:19 -0700
commit559e87c497a820e132995ad56c8361509e5410da (patch)
tree763729e580946c383826af51f03ae023e0114794 /fs
parent48432984d718c95cf13e26d487c2d1b697c3c01f (diff)
downloadlinux-559e87c497a820e132995ad56c8361509e5410da.tar.bz2
f2fs: trace f2fs_ioc_shutdown
This patch supports to trace f2fs_ioc_shutdown. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/f2fs/file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index 3a8c8eb0f549..807a97ad2430 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -1987,6 +1987,9 @@ static int f2fs_ioc_shutdown(struct file *filp, unsigned long arg)
out:
if (in != F2FS_GOING_DOWN_FULLSYNC)
mnt_drop_write_file(filp);
+
+ trace_f2fs_shutdown(sbi, in, ret);
+
return ret;
}