summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r--kernel/trace/trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index d7449783987a..310f0ea0d1a2 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -7503,7 +7503,7 @@ init_tracer_tracefs(struct trace_array *tr, struct dentry *d_tracer)
7503 ftrace_init_tracefs(tr, d_tracer); 7503 ftrace_init_tracefs(tr, d_tracer);
7504} 7504}
7505 7505
7506static struct vfsmount *trace_automount(void *ingore) 7506static struct vfsmount *trace_automount(struct dentry *mntpt, void *ingore)
7507{ 7507{
7508 struct vfsmount *mnt; 7508 struct vfsmount *mnt;
7509 struct file_system_type *type; 7509 struct file_system_type *type;
@@ -7516,7 +7516,7 @@ static struct vfsmount *trace_automount(void *ingore)
7516 type = get_fs_type("tracefs"); 7516 type = get_fs_type("tracefs");
7517 if (!type) 7517 if (!type)
7518 return NULL; 7518 return NULL;
7519 mnt = vfs_kern_mount(type, 0, "tracefs", NULL); 7519 mnt = vfs_submount(mntpt, type, "tracefs", NULL);
7520 put_filesystem(type); 7520 put_filesystem(type);
7521 if (IS_ERR(mnt)) 7521 if (IS_ERR(mnt))
7522 return NULL; 7522 return NULL;