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)
commit0db74d9a2d2b312dd2cff066c5b97b8e626e403a
treeea7b0897f6ab7281f5e27d3ebb5d671e14745e9a
parent4c9c52e479f493ccfc3f513e870912115b49058f
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