]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: remove BUG_ONs checking RPC_IS_QUEUED
authorWeston Andros Adamson <dros@netapp.com>
Tue, 23 Oct 2012 14:43:47 +0000 (10:43 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 4 Nov 2012 19:43:42 +0000 (14:43 -0500)
commit123e19e5d3b52940a952447f5906e38188e4dcda
treebbf350c3849229888a85481e2f390a40aad414ad
parent9069a1fcea51c7da1dce976386ee69b95e7475f1
SUNRPC: remove BUG_ONs checking RPC_IS_QUEUED

Replace two BUG_ON() calls with WARN_ON_ONCE() and early returns.

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