diff options
author | Andy Adamson <andros@netapp.com> | 2009-04-03 07:28:53 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-04-04 02:41:21 +0200 |
commit | d87a8ade95288f28c729e076cd74929f3f199b6c (patch) | |
tree | 700a10f87def9db1c9657f2f7a61286bc06c8d03 /fs/nfsd/nfs4proc.c | |
parent | nfsd41: clientid handling (diff) | |
download | linux-d87a8ade95288f28c729e076cd74929f3f199b6c.tar.xz linux-d87a8ade95288f28c729e076cd74929f3f199b6c.zip |
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.c | 1 |
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, resp->tag = args->tag; resp->opcnt = 0; resp->rqstp = rqstp; + resp->cstate.minorversion = args->minorversion; resp->cstate.replay_owner = NULL; fh_init(&resp->cstate.current_fh, NFS4_FHSIZE); fh_init(&resp->cstate.save_fh, NFS4_FHSIZE); |