Message ID | CAN-5tyFZPkK9F1HzRup1xNC841YJc3m5Zt-S4P6z1z+KPoH0HQ@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 3acb1eb..b53cb10 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -1866,7 +1866,8 @@ static void nfs4_open_prepare(struct rpc_task *task, void goto out_no_action; rcu_read_lock(); delegation = rcu_dereference(NFS_I(data->state->inode)->delegati - if (data->o_arg.claim != NFS4_OPEN_CLAIM_DELEGATE_CUR && + if (data->o_arg.claim != NFS4_OPEN_CLAIM_PREVIOUS && + data->o_arg.claim != NFS4_OPEN_CLAIM_DELEGATE_CUR && data->o_arg.claim != NFS4_OPEN_CLAIM_DELEG_CUR_FH && can_open_delegated(delegation, data->o_arg.fmode)) goto unlock_no_action;