aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4proc.c
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-04-03 01:28:53 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-04-03 20:41:21 -0400
commitd87a8ade95288f28c729e076cd74929f3f199b6c (patch)
tree700a10f87def9db1c9657f2f7a61286bc06c8d03 /fs/nfsd/nfs4proc.c
parent60adfc50de3855628dea8f8896a65f471f51301c (diff)
nfsd41: access_valid
For nfs41, the open share flags are used also for delegation "wants" and "signals". Check that they are valid. Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r--fs/nfsd/nfs4proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 3fdcca53212a..db208dd8fdca 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -910,6 +910,7 @@ nfsd4_proc_compound(struct svc_rqst *rqstp,
910 resp->tag = args->tag; 910 resp->tag = args->tag;
911 resp->opcnt = 0; 911 resp->opcnt = 0;
912 resp->rqstp = rqstp; 912 resp->rqstp = rqstp;
913 resp->cstate.minorversion = args->minorversion;
913 resp->cstate.replay_owner = NULL; 914 resp->cstate.replay_owner = NULL;
914 fh_init(&resp->cstate.current_fh, NFS4_FHSIZE); 915 fh_init(&resp->cstate.current_fh, NFS4_FHSIZE);
915 fh_init(&resp->cstate.save_fh, NFS4_FHSIZE); 916 fh_init(&resp->cstate.save_fh, NFS4_FHSIZE);