Skip to contentSkip to conversation

NFS: trace the uniquifier of fscache

PATCH New Chen Hanxiao 1 participant 1 message Mar 6, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 NFS: trace the uniquifier of fscache

Trace the mount option fsc=xxx.

---
v2:
remove useless NULL check and update commit messages

 fs/nfs/fs_context.c | 1 +
 1 file changed, 1 insertion(+)
fs/nfs/fs_context.c +1 -0
index 853e8d609bb3..d0a0956f8a13 100644
@@ -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;
Signature · 1 line
2.39.1