|
@@ -169,12 +169,6 @@ nfsd4_open(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open
|
|
(int)open->op_fname.len, open->op_fname.data,
|
|
(int)open->op_fname.len, open->op_fname.data,
|
|
open->op_stateowner);
|
|
open->op_stateowner);
|
|
|
|
|
|
- if (nfs4_in_grace() && open->op_claim_type != NFS4_OPEN_CLAIM_PREVIOUS)
|
|
|
|
- return nfserr_grace;
|
|
|
|
-
|
|
|
|
- if (!nfs4_in_grace() && open->op_claim_type == NFS4_OPEN_CLAIM_PREVIOUS)
|
|
|
|
- return nfserr_no_grace;
|
|
|
|
-
|
|
|
|
/* This check required by spec. */
|
|
/* This check required by spec. */
|
|
if (open->op_create && open->op_claim_type != NFS4_OPEN_CLAIM_NULL)
|
|
if (open->op_create && open->op_claim_type != NFS4_OPEN_CLAIM_NULL)
|
|
return nfserr_inval;
|
|
return nfserr_inval;
|