* + proc-move-proc-sysvipc-creation-to-where-it-belongs.patch added to -mm tree
@ 2018-02-16 20:34 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2018-02-16 20:34 UTC (permalink / raw)
To: adobriyan, akpm, dave, manfred, mm-commits
The patch titled
Subject: proc: move /proc/sysvipc creation to where it belongs
has been added to the -mm tree. Its filename is
proc-move-proc-sysvipc-creation-to-where-it-belongs.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/proc-move-proc-sysvipc-creation-to-where-it-belongs.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/proc-move-proc-sysvipc-creation-to-where-it-belongs.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Alexey Dobriyan <adobriyan@gmail.com>
Subject: proc: move /proc/sysvipc creation to where it belongs
Link: http://lkml.kernel.org/r/20180216161732.GA10297@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/proc/root.c | 4 ----
ipc/util.c | 1 +
2 files changed, 1 insertion(+), 4 deletions(-)
diff -puN fs/proc/root.c~proc-move-proc-sysvipc-creation-to-where-it-belongs fs/proc/root.c
--- a/fs/proc/root.c~proc-move-proc-sysvipc-creation-to-where-it-belongs
+++ a/fs/proc/root.c
@@ -136,10 +136,6 @@ void __init proc_root_init(void)
proc_symlink("mounts", NULL, "self/mounts");
proc_net_init();
-
-#ifdef CONFIG_SYSVIPC
- proc_mkdir("sysvipc", NULL);
-#endif
proc_mkdir("fs", NULL);
proc_mkdir("driver", NULL);
proc_create_mount_point("fs/nfsd"); /* somewhere for the nfsd filesystem to be mounted */
diff -puN ipc/util.c~proc-move-proc-sysvipc-creation-to-where-it-belongs ipc/util.c
--- a/ipc/util.c~proc-move-proc-sysvipc-creation-to-where-it-belongs
+++ a/ipc/util.c
@@ -89,6 +89,7 @@ static int __init ipc_init(void)
{
int err_sem, err_msg;
+ proc_mkdir("sysvipc", NULL);
err_sem = sem_init();
WARN(err_sem, "ipc: sysv sem_init failed: %d\n", err_sem);
err_msg = msg_init();
_
Patches currently in -mm which might be from adobriyan@gmail.com are
proc-do-less-stuff-under-pde_unload_lock.patch
proc-move-proc-sysvipc-creation-to-where-it-belongs.patch
seq_file-delete-small-value-optimization.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-16 20:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-16 20:34 + proc-move-proc-sysvipc-creation-to-where-it-belongs.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).