aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfsd/nfs4state.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index f60bcad77f71..386daac508f5 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -2715,11 +2715,6 @@ nfsd4_lock(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_lock
2715 goto out; 2715 goto out;
2716 } 2716 }
2717 2717
2718 /* is the new lock seqid presented by the client zero? */
2719 status = nfserr_bad_seqid;
2720 if (lock->v.new.lock_seqid != 0)
2721 goto out;
2722
2723 /* validate and update open stateid and open seqid */ 2718 /* validate and update open stateid and open seqid */
2724 status = nfs4_preprocess_seqid_op(current_fh, 2719 status = nfs4_preprocess_seqid_op(current_fh,
2725 lock->lk_new_open_seqid, 2720 lock->lk_new_open_seqid,