projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f34bd0
)
grace: replace BUG_ON by WARN_ONCE in exit_net hook
author
Vasily Averin
<vvs@virtuozzo.com>
Mon, 6 Nov 2017 13:22:48 +0000
(16:22 +0300)
committer
J. Bruce Fields
<bfields@redhat.com>
Mon, 27 Nov 2017 21:45:10 +0000
(16:45 -0500)
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfs_common/grace.c
patch
|
blob
|
history
diff --git
a/fs/nfs_common/grace.c
b/fs/nfs_common/grace.c
index 897b299db55e01e291641b35d25f4c903962fec5..bd3e2d328e64dedb65c895aa29410b97ffc6ed8e 100644
(file)
--- a/
fs/nfs_common/grace.c
+++ b/
fs/nfs_common/grace.c
@@
-104,7
+104,9
@@
grace_exit_net(struct net *net)
{
struct list_head *grace_list = net_generic(net, grace_net_id);
- BUG_ON(!list_empty(grace_list));
+ WARN_ONCE(!list_empty(grace_list),
+ "net %x %s: grace_list is not empty\n",
+ net->ns.inum, __func__);
}
static struct pernet_operations grace_net_ops = {