mount: allow and ignore _netdev option
authorDenis Vlasenko <vda.linux@googlemail.com>
Tue, 29 Jan 2008 09:31:09 +0000 (09:31 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Tue, 29 Jan 2008 09:31:09 +0000 (09:31 -0000)
util-linux/mount.c

index a10d28d7c66256892b14f8be9974398e7b7dc73a..0b440ef16cf057d0f37da23f9eb86c21cbe89a3e 100644 (file)
@@ -81,6 +81,7 @@ static const int32_t mount_options[] = {
                /* "swap"   */ MOUNT_SWAP,
                USE_DESKTOP(/* "user"  */ MOUNT_USERS,)
                USE_DESKTOP(/* "users" */ MOUNT_USERS,)
+               /* "_netdev" */ 0,
        )
 
        USE_FEATURE_MOUNT_FLAGS(
@@ -130,6 +131,7 @@ static const char mount_option_str[] =
                "swap" "\0"
                USE_DESKTOP("user" "\0")
                USE_DESKTOP("users" "\0")
+               "_netdev" "\0"
        )
        USE_FEATURE_MOUNT_FLAGS(
                // vfs flags