ses: add enclosure logical id
authorDan Williams <dan.j.williams@intel.com>
Tue, 30 Dec 2014 22:46:16 +0000 (14:46 -0800)
committerChristoph Hellwig <hch@lst.de>
Fri, 9 Jan 2015 14:44:18 +0000 (15:44 +0100)
commit967f7bab0eaaa74d7d01a56d45aa309f78fb87dd
treec060248c671d1d2882458941d5de40a1dc7441cd
parent15a0fbbc8e0d4c135b069c34258fbaebad471dd7
ses: add enclosure logical id

Export the NAA logical id for the enclosure.  This is optionally
available from the sas_transport_class, but it is really a property of
the enclosure.

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>
Cc: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/misc/enclosure.c
drivers/scsi/ses.c
include/linux/enclosure.h