ses: generate KOBJ_CHANGE on enclosure attach
authorDan Williams <dan.j.williams@intel.com>
Tue, 30 Dec 2014 22:46:15 +0000 (14:46 -0800)
committerChristoph Hellwig <hch@lst.de>
Fri, 9 Jan 2015 14:44:18 +0000 (15:44 +0100)
commit15a0fbbc8e0d4c135b069c34258fbaebad471dd7
tree1463f560ba324693083975b020489e0b2943b680
parented09dcc8bd7fe0991af7737e675996cbd022f38f
ses: generate KOBJ_CHANGE on enclosure attach

In support of a /dev/disk/by-slot populated with data from the enclosure
and ses modules udev needs notification when the new interface
files/links are available.  Otherwise, any udev rules specified for the
disk cannot assume that the enclosure topology has settled.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
Reviewed-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/ses.c