Message ID | 18234b43-c052-0243-a3f2-277a1bfaa66e@virtuozzo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/nfs_common/grace.c b/fs/nfs_common/grace.c index 420d3a0..77226e6 100644 --- a/fs/nfs_common/grace.c +++ b/fs/nfs_common/grace.c @@ -104,7 +104,7 @@ grace_exit_net(struct net *net) { struct list_head *grace_list = net_generic(net, grace_net_id); - BUG_ON(!list_empty(grace_list)); + WARN_ON(!list_empty(grace_list)); } static struct pernet_operations grace_net_ops = {
use WARN_ON instead of BUG_ON to prevent dispensable kernel crash Signed-off-by: Vasily Averin <vvs@virtuozzo.com> --- fs/nfs_common/grace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)