Skip to content

Commit 6548fce

Browse files
zhijianli88axboe
authored andcommitted
drivers/rnbd: restore sysfs interface to rnbd-client
Commit 137380c 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 <[email protected]> CC: "Md. Haris Iqbal" <[email protected]> CC: Jack Wang <[email protected]> Fixes: 137380c ("block/rnbd: make all 'class' structures const") Signed-off-by: Li Zhijian <[email protected]> Acked-by: Jack Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent a7a7dab commit 6548fce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/block/rnbd/rnbd-clt-sysfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
static struct device *rnbd_dev;
2727
static const struct class rnbd_dev_class = {
28-
.name = "rnbd_client",
28+
.name = "rnbd-client",
2929
};
3030
static struct kobject *rnbd_devs_kobj;
3131

0 commit comments

Comments
 (0)