]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Get rid of bumping fs_struct refcount in pivot_root(2)
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 31 Mar 2009 00:36:33 +0000 (20:36 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 May 2009 22:45:07 +0000 (15:45 -0700)
commit617629fabc23a797c6f76d9514e198b2097395da
tree9c866bf9d9fb2183bad8f07c37df57fa1770351a
parent5cda02631f54f8aa8c5b4d53dff385ad591cd2ad
Get rid of bumping fs_struct refcount in pivot_root(2)

commit f8ef3ed2bebd2c4cb9ece92efa185d7aead8831a upstream.

Not because execve races with _that_ are serious - we really
need a situation when final drop of fs_struct refcount is
done by something that used to have it as current->fs.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/namespace.c