drivers/rnbd: restore sysfs interface to rnbd-client
authorLi Zhijian <lizhijian@fujitsu.com>
Wed, 16 Aug 2023 02:22:10 +0000 (10:22 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2023 21:00:39 +0000 (15:00 -0600)
commit6548fce05803262ab43241b61dee3e2982486e4b
tree89f05786408a392b14ba873f6cc2ae43e246337b
parenta7a7dabb5dd72d2875bc3ce56f94ea5ceb259d5b
drivers/rnbd: restore sysfs interface to rnbd-client

Commit 137380c0ec40 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: 137380c0ec40 ("block/rnbd: make all 'class' structures const")
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Link: https://lore.kernel.org/r/20230816022210.2501228-1-lizhijian@fujitsu.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rnbd/rnbd-clt-sysfs.c