OSDN Git Service

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)
commit1e496938b6aec67b7cfd06614164fee0fe9f13e3
treed4a9e404c3fff6ce8a869660887643694713c257
parente9a48034d7d1318ece7d4a235838a86c94db9d68
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