]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/mount.h
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)
commitf7a99c5b7c8bd3d3f533c8b38274e33f3da9096e
tree5c326c0ddd1f40eacbe2fd7c888f26b089389f99
parentd187663ef24cd3d033f0cbf2867e70b36a3a90b8
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