aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-08-21 08:02:31 -0400
committerJ. Bruce Fields <bfields@redhat.com>2012-08-21 14:08:38 -0400
commit5592a3f3978c57175ef817a4f773bc0d6d8949b9 (patch)
tree09ac3eca3978ae4ae78d9e73b091e4e05a41058c /fs/nfsd
parentda5c80a935d422bcc8a69b362f5d1b47ef94d3de (diff)
downloadkernel_goldelico_gta04-5592a3f3978c57175ef817a4f773bc0d6d8949b9.zip
kernel_goldelico_gta04-5592a3f3978c57175ef817a4f773bc0d6d8949b9.tar.gz
kernel_goldelico_gta04-5592a3f3978c57175ef817a4f773bc0d6d8949b9.tar.bz2
knfsd: remove bogus BUG_ON() call from nfsd4_locku
The code checks for a NULL filp and handles it gracefully just before this BUG_ON. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index f393da8..123b471 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,
status = nfserr_lock_range;
goto out;
}
- BUG_ON(!filp);
locks_init_lock(&file_lock);
file_lock.fl_type = F_UNLCK;
file_lock.fl_owner = (fl_owner_t)lockowner(stp->st_stateowner);