]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: remove BUG_ON calls from cache_read
authorWeston Andros Adamson <dros@netapp.com>
Tue, 23 Oct 2012 14:43:36 +0000 (10:43 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 4 Nov 2012 19:43:41 +0000 (14:43 -0500)
commit955a319e60186ebd9074fa7d2869e8e3117186ae
treeea7b0897f6ab7281f5e27d3ebb5d671e14745e9a
parent717b47b722d96396a7691301946f8c4479b73431
SUNRPC: remove BUG_ON calls from cache_read

Replace BUG_ON() with WARN_ON_ONCE() in two parts of cache_read().

Signed-off-by: Weston Andros Adamson <dros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/cache.c