]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: set the 'device' link in sysfs
authorHannes Reinecke <hare@suse.de>
Thu, 23 Jan 2020 12:44:33 +0000 (13:44 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 27 Jan 2020 15:53:40 +0000 (16:53 +0100)
commit9a0592f37b09612056492b8a0f9b25cc1306dd15
tree73223d36eda520317cd68c1e66939be8341680c6
parente1447034e762d55c8b41bb9a8a09cad7851212bb
rbd: set the 'device' link in sysfs

The rbd driver already provides additional information in sysfs
under /sys/bus/rbd, so we should set the 'device' link in the block
device to reference this information.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
drivers/block/rbd.c