summaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback.c
diff options
context:
space:
mode:
authorAlexandros Batsakis <batsakis@netapp.com>2009-12-05 19:19:01 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-05 19:19:01 +0100
commit07bccc2dd4e8745859f0fa7d120ea39320fbcdbf (patch)
tree0a06d0689b300842a85c7c8f8605ea86dcb7cf81 /fs/nfs/callback.c
parentnfs41: only state manager sets NFS4CLNT_SESSION_SETUP (diff)
downloadlinux-07bccc2dd4e8745859f0fa7d120ea39320fbcdbf.tar.xz
linux-07bccc2dd4e8745859f0fa7d120ea39320fbcdbf.zip
nfs41: add support for callback with RPC version number 4
The NFSv4.1 spec-29 (18.36.3) says that the server MUST use an ONC RPC (program) version number equal to 4 in callbacks sent to the client. For now we allow both versions 1 and 4. Signed-off-by: Alexandros Batsakis <batsakis@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback.c')
-rw-r--r--fs/nfs/callback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c
index e66ec5d169f7..73ab220354df 100644
--- a/fs/nfs/callback.c
+++ b/fs/nfs/callback.c
@@ -385,6 +385,7 @@ static int nfs_callback_authenticate(struct svc_rqst *rqstp)
*/
static struct svc_version *nfs4_callback_version[] = {
[1] = &nfs4_callback_version1,
+ [4] = &nfs4_callback_version4,
};
static struct svc_stat nfs4_callback_stats;