]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
proc: move /proc/sysvipc creation to where it belongs
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 10 Apr 2018 23:30:58 +0000 (16:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Apr 2018 17:28:33 +0000 (10:28 -0700)
commite74a0effffbbea75fe2b6770948f84fcb0917cdd
tree63b98a1e71e77ebf850f781d2b0af949319e8171
parent2f8974243507d9e5b0f214d7668a59a66b93f36c
proc: move /proc/sysvipc creation to where it belongs

Move the proc_mkdir() call within the sysvipc subsystem such that we
avoid polluting proc_root_init() with petty cpp.

[dave@stgolabs.net: contributed changelog]
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>
Acked-by: Davidlohr Bueso <dave@stgolabs.net>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/root.c
ipc/util.c