Merge branch 'bugfixes' into nfs-for-next
[firefly-linux-kernel-4.4.55.git] / net / sunrpc / rpc_pipe.c
index e659def7774295794511679c75440ae971216bbf..fd10981ea7921774e54f19808b1c9fa9964d4d3d 100644 (file)
@@ -1093,7 +1093,7 @@ void rpc_put_sb_net(const struct net *net)
 {
        struct sunrpc_net *sn = net_generic(net, sunrpc_net_id);
 
-       BUG_ON(sn->pipefs_sb == NULL);
+       WARN_ON(sn->pipefs_sb == NULL);
        mutex_unlock(&sn->pipefs_sb_lock);
 }
 EXPORT_SYMBOL_GPL(rpc_put_sb_net);