switch create_mnt_ns() to saner calling conventions, fix double mntput() in nfs
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Nov 2011 21:12:14 +0000 (16:12 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 16 Nov 2011 21:12:14 +0000 (16:12 -0500)
commitc13344958780b4046305ee6235d686c846535529
treeaed2958283867030aa9e9f742c3fb94c895b2d5c
parent8d514bbf37eecf0a3e309284728637816a36764b
switch create_mnt_ns() to saner calling conventions, fix double mntput() in nfs

Life is much saner if create_mnt_ns(mnt) drops mnt in case of error...
Switch it to such calling conventions, switch callers, fix double mntput() in
fs/nfs/super.c one.

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