]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] fix media change events for polled devices
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 19 Mar 2008 12:04:47 +0000 (13:04 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 19 Mar 2008 16:51:28 +0000 (11:51 -0500)
commit4d1566ed2100d074ccc654e5cf2e44cdea3a01d0
tree8fab30e6e135023b8a595c8e11e8eff30ac17a72
parentc02e600280c605c761190ef82a6e6fa6aa7fb248
[SCSI] fix media change events for polled devices

Commit:
  a341cd0f (SCSI: add asynchronous event notification API)
breaks:
  285e9670 (sr,sd: send media state change modification events)
by introducing an event filter, which is removed here, to make
events, we are depending on, happen again.

Fix this by removing the event filter.  It's pretty much broken at the
moment, since a user can't set it (the attribute being read only).  A
proper fix will be to make the event discriminator distinguish between
AN and Polled media change events.

Cc: David Zeuthen <david@fubar.dk>
Cc: kristen accardi <kaccardi@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_lib.c