diff options
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/drivers/mconsole_kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c index 79ccfe6c7078..7fc71c628267 100644 --- a/arch/um/drivers/mconsole_kern.c +++ b/arch/um/drivers/mconsole_kern.c | |||
@@ -123,7 +123,7 @@ void mconsole_log(struct mc_request *req) | |||
123 | 123 | ||
124 | void mconsole_proc(struct mc_request *req) | 124 | void mconsole_proc(struct mc_request *req) |
125 | { | 125 | { |
126 | struct vfsmount *mnt = current->nsproxy->pid_ns->proc_mnt; | 126 | struct vfsmount *mnt = task_active_pid_ns(current)->proc_mnt; |
127 | char *buf; | 127 | char *buf; |
128 | int len; | 128 | int len; |
129 | struct file *file; | 129 | struct file *file; |