diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-25 07:53:09 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 07:57:06 +0400 |
commit | 68e8a9feab251f9d3c8fd9e9893c97843bcd4bd0 (patch) | |
tree | 22fac61a982587cd53ccf05513fbe4ffe60c860d /include/linux | |
parent | 83adc7532229f1909cf37c429780f02f06fe05ee (diff) | |
download | linux-68e8a9feab251f9d3c8fd9e9893c97843bcd4bd0.tar.xz |
vfs: all counters taken to struct mount
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mount.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/mount.h b/include/linux/mount.h index e3f005993d0f..cc01ed1bc719 100644 --- a/include/linux/mount.h +++ b/include/linux/mount.h @@ -47,21 +47,9 @@ struct mnt_namespace; #define MNT_INTERNAL 0x4000 -struct mnt_pcp { - int mnt_count; - int mnt_writers; -}; - struct vfsmount { struct dentry *mnt_root; /* root of the mounted tree */ 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; -#endif struct list_head mnt_mounts; /* list of children, anchored here */ struct list_head mnt_child; /* and going through their mnt_child */ int mnt_flags; |