diff options
author | Miklos Szeredi | 2011-11-21 12:11:30 +0100 |
---|---|---|
committer | Al Viro | 2012-01-07 05:20:12 +0100 |
commit | 39f7c4db1d2d9e2e2a90abdf34811783089d217d (patch) | |
tree | cbc3496ce21e26b5891bb4c4d4155853317ddfb3 /fs/mount.h | |
parent | vfs: switch ->show_options() to struct dentry * (diff) | |
download | kernel-qcow2-linux-39f7c4db1d2d9e2e2a90abdf34811783089d217d.tar.gz kernel-qcow2-linux-39f7c4db1d2d9e2e2a90abdf34811783089d217d.tar.xz kernel-qcow2-linux-39f7c4db1d2d9e2e2a90abdf34811783089d217d.zip |
vfs: keep list of mounts for each superblock
Keep track of vfsmounts belonging to a superblock. List is protected
by vfsmount_lock.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Tested-by: Toshiyuki Okajima <toshi.okajima@jp.fujitsu.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/mount.h')
-rw-r--r-- | fs/mount.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/mount.h b/fs/mount.h index 0921b51e27e2..4ef36d93e5a2 100644 --- a/fs/mount.h +++ b/fs/mount.h @@ -29,6 +29,7 @@ struct mount { #endif struct list_head mnt_mounts; /* list of children, anchored here */ struct list_head mnt_child; /* and going through their mnt_child */ + struct list_head mnt_instance; /* mount instance on sb->s_mounts */ const char *mnt_devname; /* Name of device e.g. /dev/dsk/hda1 */ struct list_head mnt_list; struct list_head mnt_expire; /* link in fs-specific expiry list */ |