diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2011-11-21 06:11:30 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-06 23:20:12 -0500 |
commit | 39f7c4db1d2d9e2e2a90abdf34811783089d217d (patch) | |
tree | cbc3496ce21e26b5891bb4c4d4155853317ddfb3 /fs/mount.h | |
parent | 34c80b1d93e6e20ca9dea0baf583a5b5510d92d4 (diff) |
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 { | |||
29 | #endif | 29 | #endif |
30 | struct list_head mnt_mounts; /* list of children, anchored here */ | 30 | struct list_head mnt_mounts; /* list of children, anchored here */ |
31 | struct list_head mnt_child; /* and going through their mnt_child */ | 31 | struct list_head mnt_child; /* and going through their mnt_child */ |
32 | struct list_head mnt_instance; /* mount instance on sb->s_mounts */ | ||
32 | const char *mnt_devname; /* Name of device e.g. /dev/dsk/hda1 */ | 33 | const char *mnt_devname; /* Name of device e.g. /dev/dsk/hda1 */ |
33 | struct list_head mnt_list; | 34 | struct list_head mnt_list; |
34 | struct list_head mnt_expire; /* link in fs-specific expiry list */ | 35 | struct list_head mnt_expire; /* link in fs-specific expiry list */ |