[PATCH] rename struct namespace to struct mnt_namespace
Rename 'struct namespace' to 'struct mnt_namespace' to avoid confusion with other namespaces being developped for the containers : pid, uts, ipc, etc. 'namespace' variables and attributes are also renamed to 'mnt_ns' Signed-off-by: Kirill Korotaev <dev@sw.ru> Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Cc: Eric W. Biederman <ebiederm@xmission.com> Cc: Herbert Poetzl <herbert@13thfloor.at> Cc: Sukadev Bhattiprolu <sukadev@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
1ec320afdc
commit
6b3286ed11
@@ -20,7 +20,7 @@
|
||||
struct super_block;
|
||||
struct vfsmount;
|
||||
struct dentry;
|
||||
struct namespace;
|
||||
struct mnt_namespace;
|
||||
|
||||
#define MNT_NOSUID 0x01
|
||||
#define MNT_NODEV 0x02
|
||||
@@ -52,7 +52,7 @@ struct vfsmount {
|
||||
struct list_head mnt_slave_list;/* list of slave mounts */
|
||||
struct list_head mnt_slave; /* slave list entry */
|
||||
struct vfsmount *mnt_master; /* slave is on master->mnt_slave_list */
|
||||
struct namespace *mnt_namespace; /* containing namespace */
|
||||
struct mnt_namespace *mnt_ns; /* containing namespace */
|
||||
int mnt_pinned;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user