Alan Stern 7e44331240 [SCSI] sd: fix medium-removal bug
Commit 409f3499a2cfcd1e9c2857c53af7fcce069f027f (scsi/sd: remove big
kernel lock) introduced a bug in the sd_release routine.  Medium
removal should be allowed when the number of open file references
drops to 0, not when it becomes non-zero.

This patch (as1414) adjusts the test to fix the bug.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-09-07 10:31:54 -05:00
..
2010-08-24 15:28:28 +10:00
2010-08-21 12:47:05 -07:00
2010-09-07 10:31:54 -05:00
2010-08-23 18:15:38 -07:00
2010-07-26 08:05:31 -07:00
2010-07-27 12:40:54 +02:00