summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2011-04-22 12:45:59 -0400
committerJ. Bruce Fields <bfields@redhat.com>2011-04-29 20:47:54 -0400
commitb7c66360dc34e64742edabf4dc410070aa883119 (patch)
tree289f97cc0109f822d36b3538e6da18e00e54a19b /fs/nfsd
parenta62573dc353b255dbbc8520bfdcb1c8a8c1ada87 (diff)
downloadop-kernel-dev-b7c66360dc34e64742edabf4dc410070aa883119.zip
op-kernel-dev-b7c66360dc34e64742edabf4dc410070aa883119.tar.gz
nfsd v4.1 lOCKT clientid field must be ignored
RFC 5661 Section 18.11.3 The clientid field of the owner MAY be set to any value by the client and MUST be ignored by the server. The reason the server MUST ignore the clientid field is that the server MUST derive the client ID from the session ID from the SEQUENCE operation of the COMPOUND request. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4xdr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index c6766af..6e7f10a 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -588,8 +588,6 @@ nfsd4_decode_lockt(struct nfsd4_compoundargs *argp, struct nfsd4_lockt *lockt)
READ_BUF(lockt->lt_owner.len);
READMEM(lockt->lt_owner.data, lockt->lt_owner.len);
- if (argp->minorversion && !zero_clientid(&lockt->lt_clientid))
- return nfserr_inval;
DECODE_TAIL;
}
OpenPOWER on IntegriCloud