]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: expose subsys attribute to sysfs
authorHannes Reinecke <hare@suse.de>
Fri, 10 Nov 2017 09:58:23 +0000 (10:58 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 11 Nov 2017 02:53:25 +0000 (19:53 -0700)
commit149ce6dc14e97dda784c1403aee0e4d948bc54c8
treed4a9e404c3fff6ce8a869660887643694713c257
parentcbacdd5767fa87583337f0ffb71a5820ab1ade26
nvme: expose subsys attribute to sysfs

We should be exposing the subsystem attributes like 'model' and
'subsysnqn' to sysfs to allow for easier identification of the
subsystem.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c