summaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_mount.h
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2010-08-03 13:04:00 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-08-06 13:41:39 -0400
commitd5eff1a3412f6d75bf28f423c5015ece8055407a (patch)
treea1e65a188bda702f93537fc3c9b92b30224ae190 /include/linux/nfs_mount.h
parent761fe93cdfa29071879d882c92e966ae692c0048 (diff)
downloadop-kernel-dev-d5eff1a3412f6d75bf28f423c5015ece8055407a.zip
op-kernel-dev-d5eff1a3412f6d75bf28f423c5015ece8055407a.tar.gz
NFS: Fix /proc/mount for legacy binary interface
Add a flag so we know if we mounted the NFS server using the legacy binary interface. If we used the legacy interface, then we should not show the mountd options. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_mount.h')
-rw-r--r--include/linux/nfs_mount.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nfs_mount.h b/include/linux/nfs_mount.h
index 4499016..5d59ae8 100644
--- a/include/linux/nfs_mount.h
+++ b/include/linux/nfs_mount.h
@@ -69,5 +69,6 @@ struct nfs_mount_data {
#define NFS_MOUNT_LOOKUP_CACHE_NONEG 0x10000
#define NFS_MOUNT_LOOKUP_CACHE_NONE 0x20000
#define NFS_MOUNT_NORESVPORT 0x40000
+#define NFS_MOUNT_LEGACY_INTERFACE 0x80000
#endif
OpenPOWER on IntegriCloud