summaryrefslogtreecommitdiffstats
path: root/utils/mount/mount.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-07-16 16:28:56 -0400
committerNeil Brown <neilb@suse.de>2007-07-20 16:10:54 +1000
commitc0f7366f3ae8de8a62e3cc6824080e02e780f3b2 (patch)
tree26c1a7a3a4d385df94db3c2f184e2c48b13ec058 /utils/mount/mount.c
parent66ab98cbd17f7f54edda78a470579d3ab01f35c0 (diff)
downloadnfs-utils-c0f7366f3ae8de8a62e3cc6824080e02e780f3b2.tar.gz
nfs-utils-c0f7366f3ae8de8a62e3cc6824080e02e780f3b2.tar.xz
nfs-utils-c0f7366f3ae8de8a62e3cc6824080e02e780f3b2.zip
mount.nfs: Move MS_DUMMY and friends to header file
We move the definitions of MS_USER and friends to our local copy of mount_constants.h. These will need to be available in nfsmount.c and nfs4mount.c when we move the mount system call out of mount.c. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'utils/mount/mount.c')
-rw-r--r--utils/mount/mount.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/utils/mount/mount.c b/utils/mount/mount.c
index e3f84a0..de94e66 100644
--- a/utils/mount/mount.c
+++ b/utils/mount/mount.c
@@ -72,11 +72,6 @@ struct opt_map {
int mask; /* flag mask value */
};
-/* Custom mount options for our own purposes. */
-#define MS_DUMMY 0x00000000
-#define MS_USERS 0x40000000
-#define MS_USER 0x80000000
-
static const struct opt_map opt_map[] = {
{ "defaults", 0, 0, 0 }, /* default options */
{ "ro", 1, 0, MS_RDONLY }, /* read-only */