Re: [-next] BUG_ON in scsi_target_destroy()

From: Martin K. Petersen
Date: Fri Apr 15 2016 - 16:56:33 EST


>>>>> "James" == James Bottomley <jejb@xxxxxxxxxxxxxxxxxx> 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