Commit 6548fce0 authored by Li Zhijian's avatar Li Zhijian Committed by Jens Axboe

drivers/rnbd: restore sysfs interface to rnbd-client

Commit 137380c0 renamed 'rnbd-client' to 'rnbd_client', this changed
sysfs interface to /sys/devices/virtual/rnbd_client/ctl/map_device
from /sys/devices/virtual/rnbd-client/ctl/map_device.

CC: Ivan Orlov <ivan.orlov0322@gmail.com>
CC: "Md. Haris Iqbal" <haris.iqbal@ionos.com>
CC: Jack Wang <jinpu.wang@ionos.com>
Fixes: 137380c0 ("block/rnbd: make all 'class' structures const")
Signed-off-by: default avatarLi Zhijian <lizhijian@fujitsu.com>
Acked-by: default avatarJack Wang <jinpu.wang@ionos.com>
Link: https://lore.kernel.org/r/20230816022210.2501228-1-lizhijian@fujitsu.comSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent a7a7dabb
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
static struct device *rnbd_dev; static struct device *rnbd_dev;
static const struct class rnbd_dev_class = { static const struct class rnbd_dev_class = {
.name = "rnbd_client", .name = "rnbd-client",
}; };
static struct kobject *rnbd_devs_kobj; static struct kobject *rnbd_devs_kobj;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment