From: Sukadev Bhattiprolu <sukadev@xxxxxxxxxx> Subject: [RFC][PATCH 5/6] Allow multiple mounts of devpts Can we simply enable multiple mounts using get_sb_nodev(), now that we don't have any pts_namespace/'data' to be saved ? (quick/dirty - does not prevent multiple mounts of devpts within a single 'container') --- fs/devpts/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.26-rc8-mm1/fs/devpts/inode.c =================================================================== --- linux-2.6.26-rc8-mm1.orig/fs/devpts/inode.c 2008-08-04 17:26:26.000000000 -0700 +++ linux-2.6.26-rc8-mm1/fs/devpts/inode.c 2008-08-04 17:26:31.000000000 -0700 @@ -234,7 +234,7 @@ fail: static int devpts_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data, struct vfsmount *mnt) { - return get_sb_single(fs_type, flags, data, devpts_fill_super, mnt); + return get_sb_nodev(fs_type, flags, data, devpts_fill_super, mnt); } _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers