]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/mount_constants.h
umount.nfs: move nfs_call_umount to network.c
[nfs-utils.git] / utils / mount / mount_constants.h
index 19a7bf586769c92370736d96b87bf46de9b9b25d..7c972da3dcb2c4354e8c6998fc6fccb26da3a123 100644 (file)
@@ -39,6 +39,18 @@ if we have a stack or plain mount - mount atop of it, forming a stack. */
 #ifndef MS_VERBOSE
 #define MS_VERBOSE     0x8000  /* 32768 */
 #endif
+
+/*
+ * NFS fs-specific mount option flags
+ *
+ * MS_DUMMY is assigned to mount options that are not to be
+ * passed to the kernel via the "flags" argument.  These are
+ * generally ignored or handled entirely in user space.
+ */
+#define MS_DUMMY       0x00000000
+#define MS_USERS       0x40000000
+#define MS_USER                0x80000000
+
 /*
  * Magic mount flag number. Had to be or-ed to the flag values.
  */
@@ -50,4 +62,3 @@ if we have a stack or plain mount - mount atop of it, forming a stack. */
 #endif
 
 #endif /* _NFS_MOUNT_CONSTANTS_H */
-