mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 11:11:27 +00:00
ib_srpt: Add a BUG_ON() statement
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3542 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2151,6 +2151,7 @@ static void srpt_release_channel_work(struct work_struct *w)
|
||||
#else
|
||||
ch = container_of(w, struct srpt_rdma_ch, release_work);
|
||||
#endif
|
||||
BUG_ON(!ch);
|
||||
TRACE_DBG("ch = %p; ch->scst_sess = %p", ch, ch->scst_sess);
|
||||
WARN_ON(ch->state != CH_RELEASING);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user