diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nfs.h | 5 | ||||
| -rw-r--r-- | include/linux/nfs2.h | 7 | ||||
| -rw-r--r-- | include/linux/nfs3.h | 5 | 
3 files changed, 3 insertions, 14 deletions
diff --git a/include/linux/nfs.h b/include/linux/nfs.h index 214d499718f..f387919bbc5 100644 --- a/include/linux/nfs.h +++ b/include/linux/nfs.h @@ -25,8 +25,9 @@  #define NFSMODE_SOCK	0140000  #define NFSMODE_FIFO	0010000 -#define NFS_MNT_PROGRAM	100005 -#define NFS_MNT_PORT	627 +#define NFS_MNT_PROGRAM		100005 +#define NFS_MNT_VERSION		1 +#define NFS_MNT3_VERSION	3  /*   * NFS stats. The good thing with these values is that NFSv3 errors are diff --git a/include/linux/nfs2.h b/include/linux/nfs2.h index 0ed9517138f..fde24b30cc9 100644 --- a/include/linux/nfs2.h +++ b/include/linux/nfs2.h @@ -64,11 +64,4 @@ struct nfs2_fh {  #define NFSPROC_READDIR		16  #define NFSPROC_STATFS		17 -#define NFS_MNT_PROGRAM		100005 -#define NFS_MNT_VERSION		1 -#define MNTPROC_NULL		0 -#define MNTPROC_MNT		1 -#define MNTPROC_UMNT		3 -#define MNTPROC_UMNTALL		4 -  #endif /* _LINUX_NFS2_H */ diff --git a/include/linux/nfs3.h b/include/linux/nfs3.h index 539f3b550ea..ac33806ec7f 100644 --- a/include/linux/nfs3.h +++ b/include/linux/nfs3.h @@ -88,12 +88,7 @@ struct nfs3_fh {  #define NFS3PROC_PATHCONF	20  #define NFS3PROC_COMMIT		21 -#define NFS_MNT3_PROGRAM	100005  #define NFS_MNT3_VERSION	3 -#define MOUNTPROC3_NULL		0 -#define MOUNTPROC3_MNT		1 -#define MOUNTPROC3_UMNT		3 -#define MOUNTPROC3_UMNTALL	4  #if defined(__KERNEL__)  |