]> git.baikalelectronics.ru Git - kernel.git/commit
get rid of ->mnt_longterm
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 Jun 2012 04:59:08 +0000 (00:59 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Jul 2012 12:32:47 +0000 (16:32 +0400)
commit89715c7aeaa89a7287a3e03588f264c2fe88295c
tree5c326c0ddd1f40eacbe2fd7c888f26b089389f99
parentccb0854895ec02ed74e0496fd7d91dc4b34658ae
get rid of ->mnt_longterm

it's enough to set ->mnt_ns of internal vfsmounts to something
distinct from all struct mnt_namespace out there; then we can
just use the check for ->mnt_ns != NULL in the fast path of
mntput_no_expire()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c
fs/fs_struct.c
fs/internal.h
fs/mount.h
fs/namespace.c