]> err.no Git - linux-2.6/commit
[SCSI] sd, sr: do not emit change event at device add
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 19 Mar 2008 12:09:56 +0000 (13:09 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 19 Mar 2008 16:28:56 +0000 (11:28 -0500)
commitc02e600280c605c761190ef82a6e6fa6aa7fb248
tree3275148d08bfaa8374e3462a1bcab7cfc4788f7c
parent4d4109d0eb6930e59942d019980b83af679f187b
[SCSI] sd, sr: do not emit change event at device add

Initialize the "state changed" flag, so we do not send a change event
immediately after registering a new device.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/sd.c
drivers/scsi/sr.c