• Kay Sievers's avatar
    [SCSI] fix media change events for polled devices · 4d1566ed
    Kay Sievers authored
    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: default avatarKay Sievers <kay.sievers@vrfy.org>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
    4d1566ed
scsi_lib.c 62.6 KB