[klibc] [PATCH 10/16] Add missing NFS mount RPC call ordinals.
Mike Waychison
mikew at google.com
Mon Mar 1 23:46:19 PST 2010
The mount ordinals for the NFS mount protocol are no longer available in the
kernel headers. #define them if they aren't already available.
Signed-off-by: Mike Waychison <mikew at google.com>
---
usr/kinit/nfsmount/nfsmount.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/usr/kinit/nfsmount/nfsmount.h b/usr/kinit/nfsmount/nfsmount.h
index 6d958bc..abe04c2 100644
--- a/usr/kinit/nfsmount/nfsmount.h
+++ b/usr/kinit/nfsmount/nfsmount.h
@@ -32,4 +32,11 @@ enum nfs_proto {
#define DEBUG(x) do { } while(0)
#endif
+#ifndef MNTPROC_MNT
+#define MNTPROC_MNT 1
+#endif
+#ifndef MNTPROC_UMNT
+#define MNTPROC_UMNT 3
+#endif
+
#endif /* NFSMOUNT_NFSMOUNT_H */
More information about the klibc
mailing list