]> git.karo-electronics.de Git - linux-beck.git/commit
reorganize do_make_slave()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 21 Nov 2016 00:33:09 +0000 (19:33 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 16 Dec 2016 21:30:49 +0000 (16:30 -0500)
commit5235d448c48e1f5a4a34bf90d412775cb75ffb32
treef4bbb063b81ba920fffe16fd12bfc0d01db05673
parent066715d3fde4834cbbec88d12ca277c4185b9303
reorganize do_make_slave()

Make sure that clone_mnt() never returns a mount with MNT_SHARED in
flags, but without a valid ->mnt_group_id.  That allows to demystify
do_make_slave() quite a bit, among other things.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namespace.c
fs/pnode.c