aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-05-30 09:09:29 -0400
committerJ. Bruce Fields <bfields@redhat.com>2014-06-04 15:42:03 -0400
commit7025005d5e7715efa24c115c45f4a6b4f1a545de (patch)
treea915f686d96eb165a414961a09f0e91de9561603
parentba5378b66f5eb20e464796c5b088c0961fb5f618 (diff)
nfsd: remove unneeded zeroing of fields in nfsd4_proc_compound
The memset of resp in svc_process_common should ensure that these are already zeroed by the time they get here. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
-rw-r--r--fs/nfsd/nfs4proc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 8fc901acf1d3..f053c5a9ebf1 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -1290,11 +1290,8 @@ nfsd4_proc_compound(struct svc_rqst *rqstp,
1290 xdr_reserve_space(&resp->xdr, 8 + args->taglen); 1290 xdr_reserve_space(&resp->xdr, 8 + args->taglen);
1291 resp->taglen = args->taglen; 1291 resp->taglen = args->taglen;
1292 resp->tag = args->tag; 1292 resp->tag = args->tag;
1293 resp->opcnt = 0;
1294 resp->rqstp = rqstp; 1293 resp->rqstp = rqstp;
1295 cstate->minorversion = args->minorversion; 1294 cstate->minorversion = args->minorversion;
1296 cstate->replay_owner = NULL;
1297 cstate->session = NULL;
1298 fh_init(current_fh, NFS4_FHSIZE); 1295 fh_init(current_fh, NFS4_FHSIZE);
1299 fh_init(save_fh, NFS4_FHSIZE); 1296 fh_init(save_fh, NFS4_FHSIZE);
1300 /* 1297 /*