aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-06-09 00:59:08 -0400
committerZiyan <jaraidaniel@gmail.com>2016-04-03 14:55:49 +0200
commit9e2fa431613b6e8100fc4c517dbf66f535e097eb (patch)
tree1314937b12fca5be1cc27293cb3d553acad87c70 /include
parente695969cd545652b59f34992ef6538cf1a49da16 (diff)
downloadkernel_samsung_tuna-9e2fa431613b6e8100fc4c517dbf66f535e097eb.zip
kernel_samsung_tuna-9e2fa431613b6e8100fc4c517dbf66f535e097eb.tar.gz
kernel_samsung_tuna-9e2fa431613b6e8100fc4c517dbf66f535e097eb.tar.bz2
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> (cherry picked from commit f7a99c5b7c8bd3d3f533c8b38274e33f3da9096e)
Diffstat (limited to 'include')
-rw-r--r--include/linux/mount.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mount.h b/include/linux/mount.h
index e8a733b..0c5e36b 100644
--- a/include/linux/mount.h
+++ b/include/linux/mount.h
@@ -60,7 +60,6 @@ struct vfsmount {
struct super_block *mnt_sb; /* pointer to superblock */
#ifdef CONFIG_SMP
struct mnt_pcp __percpu *mnt_pcp;
- atomic_t mnt_longterm; /* how many of the refs are longterm */
#else
int mnt_count;
int mnt_writers;