mount: rprivate option fix
authorRoman Borisov <ext-roman.borisov@nokia.com>
Wed, 23 Mar 2011 08:20:25 +0000 (11:20 +0300)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 26 Mar 2011 22:02:05 +0000 (23:02 +0100)
fixed the mistake in writing for -make-rprivate option

Signed-off-by: Roman Borisov <ext-roman.borisov@nokia.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/mount.c

index 989e5d1a8fd92dfea077572aa6e9c9785c8dd9b8..e672a73f4f75cde00df7c3eb77cc5f42a37bdb5c 100644 (file)
@@ -192,7 +192,7 @@ static const int32_t mount_options[] = {
                /* "unbindable"  */ MS_UNBINDABLE,
                /* "rshared"     */ MS_SHARED|MS_RECURSIVE,
                /* "rslave"      */ MS_SLAVE|MS_RECURSIVE,
-               /* "rprivate"    */ MS_SLAVE|MS_RECURSIVE,
+               /* "rprivate"    */ MS_PRIVATE|MS_RECURSIVE,
                /* "runbindable" */ MS_UNBINDABLE|MS_RECURSIVE,
        )