]> 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)
commit871916328f9e6adf1d59db5844729c1296b32f52
tree5c326c0ddd1f40eacbe2fd7c888f26b089389f99
parent4bc2574fd73969caa51baca0638324a2d3ba0431
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