summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfsroot.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-06-18 03:02:11 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-06-18 03:02:11 +0200
commit2ad780978b7c0c3e7877949f098cbd06e7c73839 (patch)
treece7dadf676f031d1f3bf81ed9c93b4a333e2cdce /fs/nfs/nfsroot.c
parentlockd: Don't bother with RPC ping for NSM upcalls (diff)
downloadlinux-2ad780978b7c0c3e7877949f098cbd06e7c73839.tar.xz
linux-2ad780978b7c0c3e7877949f098cbd06e7c73839.zip
NFS: Clean up MNT program definitions
Clean up: Relocate MNT program procedure number definitions to the only file that uses them. Relocate the version number definitions, which are shared, to nfs.h. Remove duplicate program number definitions. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfsroot.c')
-rw-r--r--fs/nfs/nfsroot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/nfsroot.c b/fs/nfs/nfsroot.c
index e3ed5908820b..24c1b93874c4 100644
--- a/fs/nfs/nfsroot.c
+++ b/fs/nfs/nfsroot.c
@@ -92,6 +92,9 @@
#undef NFSROOT_DEBUG
#define NFSDBG_FACILITY NFSDBG_ROOT
+/* Default port to use if server is not running a portmapper */
+#define NFS_MNT_PORT 627
+
/* Default path we try to mount. "%s" gets replaced by our IP address */
#define NFS_ROOT "/tftpboot/%s"