[wrecked] ipc-mqueue-add-missing-error-code-in-init_mqueue_fs.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: ipc/mqueue: add missing error code in init_mqueue_fs()
has been removed from the -mm tree.  Its filename was
     ipc-mqueue-add-missing-error-code-in-init_mqueue_fs.patch

This patch was dropped because other changes were merged, which wrecked this patch

------------------------------------------------------
From: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Subject: ipc/mqueue: add missing error code in init_mqueue_fs()

We should propogate the error code here but we accidentally return
success.

Link: http://lkml.kernel.org/r/20180109092919.ndrvscdllrmzz6jo@mwanda
Fixes: 946086abeddf ("mqueue: switch to on-demand creation of internal mount")
Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 ipc/mqueue.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff -puN ipc/mqueue.c~ipc-mqueue-add-missing-error-code-in-init_mqueue_fs ipc/mqueue.c
--- a/ipc/mqueue.c~ipc-mqueue-add-missing-error-code-in-init_mqueue_fs
+++ a/ipc/mqueue.c
@@ -1611,8 +1611,10 @@ static int __init init_mqueue_fs(void)
 		goto out_filesystem;
 
 	m = kern_mount_data(&mqueue_fs_type, &init_ipc_ns);
-	if (IS_ERR(m))
+	if (IS_ERR(m)) {
+		error = PTR_ERR(m);
 		goto out_filesystem;
+	}
 	init_ipc_ns.mq_mnt = m;
 	return 0;
 
_

Patches currently in -mm which might be from dan.carpenter@xxxxxxxxxx are


--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux