All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] mqueue: fix a typo in mq_init_ns()
@ 2018-06-21  2:02 ` Wei Yongjun
  0 siblings, 0 replies; 4+ messages in thread
From: Wei Yongjun @ 2018-06-21  1:57 UTC (permalink / raw)
  To: Al Viro, Arnd Bergmann, Eric W. Biederman, David Howells, Andrew Morton
  Cc: Wei Yongjun, linux-kernel, kernel-janitors

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@huawei.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;
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH -next] mqueue: fix a typo in mq_init_ns()
@ 2018-06-21  2:02 ` Wei Yongjun
  0 siblings, 0 replies; 4+ messages in thread
From: Wei Yongjun @ 2018-06-21  2:02 UTC (permalink / raw)
  To: Al Viro, Arnd Bergmann, Eric W. Biederman, David Howells, Andrew Morton
  Cc: Wei Yongjun, linux-kernel, kernel-janitors

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@huawei.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;
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] mqueue: fix a typo in mq_init_ns()
  2018-06-21  2:02 ` Wei Yongjun
@ 2018-06-22 12:35   ` David Howells
  -1 siblings, 0 replies; 4+ messages in thread
From: David Howells @ 2018-06-22 12:35 UTC (permalink / raw)
  To: Wei Yongjun
  Cc: dhowells, Al Viro, Arnd Bergmann, Eric W. Biederman,
	Andrew Morton, linux-kernel, kernel-janitors

Wei Yongjun <weiyongjun1@huawei.com> wrote:

> Fix a typo, use 'm' instead of 'ns->mq_mnt'.

I've folded this into the original patch, thanks.

David

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] mqueue: fix a typo in mq_init_ns()
@ 2018-06-22 12:35   ` David Howells
  0 siblings, 0 replies; 4+ messages in thread
From: David Howells @ 2018-06-22 12:35 UTC (permalink / raw)
  To: Wei Yongjun
  Cc: dhowells, Al Viro, Arnd Bergmann, Eric W. Biederman,
	Andrew Morton, linux-kernel, kernel-janitors

Wei Yongjun <weiyongjun1@huawei.com> wrote:

> Fix a typo, use 'm' instead of 'ns->mq_mnt'.

I've folded this into the original patch, thanks.

David

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-06-22 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-21  1:57 [PATCH -next] mqueue: fix a typo in mq_init_ns() Wei Yongjun
2018-06-21  2:02 ` Wei Yongjun
2018-06-22 12:35 ` David Howells
2018-06-22 12:35   ` David Howells

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.