Commit e5f95703 authored by J. Bruce Fields's avatar J. Bruce Fields

nfsd4: discard some unused nfsd4_verify xdr code

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent f3c7521f
...@@ -1106,31 +1106,14 @@ nfsd4_decode_setclientid_confirm(struct nfsd4_compoundargs *argp, struct nfsd4_s ...@@ -1106,31 +1106,14 @@ nfsd4_decode_setclientid_confirm(struct nfsd4_compoundargs *argp, struct nfsd4_s
static __be32 static __be32
nfsd4_decode_verify(struct nfsd4_compoundargs *argp, struct nfsd4_verify *verify) nfsd4_decode_verify(struct nfsd4_compoundargs *argp, struct nfsd4_verify *verify)
{ {
#if 0
struct nfsd4_compoundargs save = {
.p = argp->p,
.end = argp->end,
.rqstp = argp->rqstp,
};
u32 ve_bmval[2];
struct iattr ve_iattr; /* request */
struct nfs4_acl *ve_acl; /* request */
#endif
DECODE_HEAD; DECODE_HEAD;
if ((status = nfsd4_decode_bitmap(argp, verify->ve_bmval))) if ((status = nfsd4_decode_bitmap(argp, verify->ve_bmval)))
goto out; goto out;
/* For convenience's sake, we compare raw xdr'd attributes in /* For convenience's sake, we compare raw xdr'd attributes in
* nfsd4_proc_verify; however we still decode here just to return * nfsd4_proc_verify */
* correct error in case of bad xdr. */
#if 0
status = nfsd4_decode_fattr(ve_bmval, &ve_iattr, &ve_acl);
if (status == nfserr_inval) {
status = nfserrno(status);
goto out;
}
#endif
READ_BUF(4); READ_BUF(4);
READ32(verify->ve_attrlen); READ32(verify->ve_attrlen);
READ_BUF(verify->ve_attrlen); READ_BUF(verify->ve_attrlen);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment