NFS: Allow the "nfs" file system type to support NFSv4
authorChuck Lever <chuck.lever@oracle.com>
Tue, 8 Sep 2009 23:50:03 +0000 (19:50 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 8 Sep 2009 23:50:03 +0000 (19:50 -0400)
commit764302ccb88dd0df062eccd507b6c6de24f1c560
tree00f9f1e80c07495e6649eccb17faf7b3d4f2a25a
parenta6fe23be90aa78783523a25330e09bfaa43a1581
NFS: Allow the "nfs" file system type to support NFSv4

When mounting an "nfs" type file system, recognize "v4," "vers=4," or
"nfsvers=4" mount options, and convert the file system to "nfs4" under
the covers.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
[trondmy: fixed up binary mount code so it sets the 'version' field too]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/internal.h
fs/nfs/super.c
include/linux/nfs4.h