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)
commit2bd4eef87bc169f1baf5d1518ba939897cc32471
treebbf350c3849229888a85481e2f390a40aad414ad
parentf50ad42837eb874c1a0cd7cca2001364b06f7ac4
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