Fix a typo, use 'm' instead of 'ns->mq_mnt'.
Fixes: 5cd6a50ace05 ("ipc: Convert mqueue fs to fs_context")
Signed-off-by: Wei Yongjun <[email protected]>
---
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;
}
Wei Yongjun <[email protected]> wrote:
> Fix a typo, use 'm' instead of 'ns->mq_mnt'.
I've folded this into the original patch, thanks.
David