|
@@ -296,7 +296,8 @@ do_open_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, stru
|
|
|
|
|
|
nfsd4_set_open_owner_reply_cache(cstate, open, resfh);
|
|
|
accmode = NFSD_MAY_NOP;
|
|
|
- if (open->op_created)
|
|
|
+ if (open->op_created ||
|
|
|
+ open->op_claim_type == NFS4_OPEN_CLAIM_DELEGATE_CUR)
|
|
|
accmode |= NFSD_MAY_OWNER_OVERRIDE;
|
|
|
status = do_open_permission(rqstp, resfh, open, accmode);
|
|
|
set_change_info(&open->op_cinfo, current_fh);
|