]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 1 Nov 2012 16:02:13 +0000 (12:02 -0400)
commitaaa89a4fd483e10593f19e8fce34513a3b885c83
tree53ba037219b7b54895d8e01d1446121c5a977556
parent3e8ce2972979c873b5b595c29a9d0b130eb2a1c6
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