summaryrefslogtreecommitdiff
path: root/fs/nfs
diff options
context:
space:
mode:
authorChen Hanxiao <chenhx.fnst@fujitsu.com>2024-03-06 12:39:02 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2024-03-09 17:14:51 +0300
commite9efd5fe756dfd9f994d59c96cef1ad134d4a39c (patch)
tree6daa5fd4deb7d95e9b725e744043b4b03831274f /fs/nfs
parent11974eec839c167362af685aae5f5e1baaf979eb (diff)
downloadlinux-e9efd5fe756dfd9f994d59c96cef1ad134d4a39c.tar.xz
NFS: trace the uniquifier of fscache
Trace the mount option fsc=xxx. Signed-off-by: Chen Hanxiao <chenhx.fnst@fujitsu.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/fs_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/fs_context.c b/fs/nfs/fs_context.c
index 853e8d609bb3..d0a0956f8a13 100644
--- a/fs/nfs/fs_context.c
+++ b/fs/nfs/fs_context.c
@@ -652,6 +652,7 @@ static int nfs_fs_context_parse_param(struct fs_context *fc,
ctx->fscache_uniq = NULL;
break;
case Opt_fscache:
+ trace_nfs_mount_assign(param->key, param->string);
ctx->options |= NFS_OPTION_FSCACHE;
kfree(ctx->fscache_uniq);
ctx->fscache_uniq = param->string;