diff options
-rw-r--r-- | fs/nfsd/nfs4state.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index f393da8c26e..123b47105c0 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -4294,7 +4294,6 @@ nfsd4_locku(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, | |||
4294 | status = nfserr_lock_range; | 4294 | status = nfserr_lock_range; |
4295 | goto out; | 4295 | goto out; |
4296 | } | 4296 | } |
4297 | BUG_ON(!filp); | ||
4298 | locks_init_lock(&file_lock); | 4297 | locks_init_lock(&file_lock); |
4299 | file_lock.fl_type = F_UNLCK; | 4298 | file_lock.fl_type = F_UNLCK; |
4300 | file_lock.fl_owner = (fl_owner_t)lockowner(stp->st_stateowner); | 4299 | file_lock.fl_owner = (fl_owner_t)lockowner(stp->st_stateowner); |