patch-2.3.44 linux/net/sunrpc/svcsock.c

Next file: linux/MAINTAINERS
Previous file: linux/net/socket.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.43/linux/net/sunrpc/svcsock.c linux/net/sunrpc/svcsock.c
@@ -64,7 +64,6 @@
 static inline void
 svc_serv_enqueue(struct svc_serv *serv, struct svc_rqst *rqstp)
 {
-	BUG_TRAP(spin_is_locked(&serv->sv_lock));
 	rpc_append_list(&serv->sv_threads, rqstp);
 }
 
@@ -74,7 +73,6 @@
 static inline void
 svc_serv_dequeue(struct svc_serv *serv, struct svc_rqst *rqstp)
 {
-	BUG_TRAP(spin_is_locked(&serv->sv_lock));
 	rpc_remove_list(&serv->sv_threads, rqstp);
 }
 
@@ -106,8 +104,6 @@
 	struct svc_serv	*serv = svsk->sk_server;
 	struct svc_rqst	*rqstp;
 
-	BUG_TRAP(spin_is_locked(&svsk->sk_lock));
-
 	/* NOTE: Local BH is already disabled by our caller. */
 	spin_lock(&serv->sv_lock);
 
@@ -155,8 +151,6 @@
 svc_sock_dequeue(struct svc_serv *serv)
 {
 	struct svc_sock	*svsk;
-
-	BUG_TRAP(spin_is_locked(&serv->sv_lock));
 
 	if ((svsk = serv->sv_sockets) != NULL)
 		rpc_remove_list(&serv->sv_sockets, svsk);


FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)