Subject: Re: [-next] BUG_ON in scsi_target_destroy()

From: "Martin K. Petersen" <[email-masked]>
Date: Fri, 15 Apr 2016 16:55:55 -0400

>>>>> "James" == James Bottomley <[email-masked]> writes:

James> The STARGET_REMOVE state you added only applies to the case we're
James> trying to kill a target.  In the natural operation case, which is
James> what everyone else is running into, we will try to remove a
James> running target when it has no more scsi devices left on it.  So
James> the correct patch should be to make the BUG_ON see this:

Commit amended.

-- 
Martin K. Petersen	Oracle Linux Engineering