- /*"optname", inv,ms_mask */
- /* These flags are parsed by mount, not lustre */
- { "defaults", 0, 0 }, /* default options */
- { "remount", 0, MS_REMOUNT}, /* remount with different options */
- { "rw", 1, MS_RDONLY }, /* read-write */
- { "ro", 0, MS_RDONLY }, /* read-only */
- { "exec", 1, MS_NOEXEC }, /* permit execution of binaries */
- { "noexec", 0, MS_NOEXEC }, /* don't execute binaries */
- { "suid", 1, MS_NOSUID }, /* honor suid executables */
- { "nosuid", 0, MS_NOSUID }, /* don't honor suid executables */
- { "dev", 1, MS_NODEV }, /* interpret device files */
- { "nodev", 0, MS_NODEV }, /* don't interpret devices */
- { "sync", 0, MS_SYNCHRONOUS}, /* synchronous I/O */
- { "async", 1, MS_SYNCHRONOUS}, /* asynchronous I/O */
- { "atime", 1, MS_NOATIME }, /* set file access time on read */
- { "noatime", 0, MS_NOATIME }, /* do not set file access time on read */
+/* these flags are parsed by mount, not Lustre */
+{ .opt = "async", .mask = MS_SYNCHRONOUS, .inv = 1 }, /* asynchronous I/O */
+{ .opt = "atime", .mask = MS_NOATIME, .inv = 1 }, /* set access time */
+{ .opt = "auto" }, /* allow auto mount */
+{ .opt = "defaults" }, /* default options */
+{ .opt = "dev", .mask = MS_NODEV, .inv = 1 }, /* interpret devs */
+{ .opt = "exec", .mask = MS_NOEXEC, .inv = 1 }, /* allow execution */
+{ .opt = "loop" },
+{ .opt = "noatime", .mask = MS_NOATIME }, /* do not set atime */
+{ .opt = "noauto" }, /* mount explicitly */
+{ .opt = "nodev", .mask = MS_NODEV }, /* no interpret devs */
+{ .opt = "noowner", .inv = 1 }, /* no special privs */
+{ .opt = "nosuid", .mask = MS_NOSUID }, /* do not honor suid */
+{ .opt = "nouser", .inv = 1 }, /* users cannot mount */
+{ .opt = "nousers", .inv = 1 }, /* users cannot mount */
+{ .opt = "_netdev" }, /* network only */
+{ .opt = "noexec", .mask = MS_NOEXEC }, /* no execute */
+{ .opt = "remount", .mask = MS_REMOUNT }, /* remount */
+{ .opt = "ro", .mask = MS_RDONLY }, /* read-only */
+{ .opt = "rw", .mask = MS_RDONLY, .inv = 1 }, /* read-write */
+{ .opt = "suid", .mask = MS_NOSUID, .inv = 1 }, /* honor suid */
+{ .opt = "sync", .mask = MS_SYNCHRONOUS }, /* synchronous I/O */