aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r--fs/nfsd/nfs4state.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 683885b18ceb..a39a542d8be5 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -3574,6 +3574,8 @@ nfsd4_open_downgrade(struct svc_rqst *rqstp,
3574 if (!access_valid(od->od_share_access, cstate->minorversion) 3574 if (!access_valid(od->od_share_access, cstate->minorversion)
3575 || !deny_valid(od->od_share_deny)) 3575 || !deny_valid(od->od_share_deny))
3576 return nfserr_inval; 3576 return nfserr_inval;
3577 /* We don't yet support WANT bits: */
3578 od->od_share_access &= NFS4_SHARE_ACCESS_MASK;
3577 3579
3578 nfs4_lock_state(); 3580 nfs4_lock_state();
3579 status = nfs4_preprocess_confirmed_seqid_op(cstate, od->od_seqid, 3581 status = nfs4_preprocess_confirmed_seqid_op(cstate, od->od_seqid,