NVMe: Export namespace attributes to sysfs
authorKeith Busch <keith.busch@intel.com>
Tue, 22 Dec 2015 17:10:45 +0000 (10:10 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 22 Dec 2015 17:10:45 +0000 (10:10 -0700)
commit2b9b6e86bca7209de02754fc84acf7ab3e78734e
tree1cd3492be06e261d610ef2d6eec5435ff03574a8
parenta0a3408ee614848c27b0d36c2fe490da3b387b8d
NVMe: Export namespace attributes to sysfs

Exposes the NGUID, EUI-64, and NSID to sysfs entries under the disk's
kobject.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h