[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1529546567-74814-1-git-send-email-weiyongjun1@huawei.com>
Date: Thu, 21 Jun 2018 02:02:47 +0000
From: Wei Yongjun <weiyongjun1@...wei.com>
To: Al Viro <viro@...iv.linux.org.uk>, Arnd Bergmann <arnd@...db.de>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
David Howells <dhowells@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>
CC: Wei Yongjun <weiyongjun1@...wei.com>,
<linux-kernel@...r.kernel.org>, <kernel-janitors@...r.kernel.org>
Subject: [PATCH -next] mqueue: fix a typo in mq_init_ns()
Fix a typo, use 'm' instead of 'ns->mq_mnt'.
Fixes: 5cd6a50ace05 ("ipc: Convert mqueue fs to fs_context")
Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
---
ipc/mqueue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index 833b8d7..0f10221 100644
--- a/ipc/mqueue.c
+++ b/ipc/mqueue.c
@@ -1620,7 +1620,7 @@ int mq_init_ns(struct ipc_namespace *ns)
m = mq_create_mount(&init_ipc_ns);
if (IS_ERR(m))
- return PTR_ERR(ns->mq_mnt);
+ return PTR_ERR(m);
ns->mq_mnt = m;
return 0;
}
Powered by blists - more mailing lists