aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Zhijian <[email protected]>2023-08-16 10:22:10 +0800
committerJens Axboe <[email protected]>2023-08-16 09:34:47 -0600
commitf4283bc7e38ac89d0c6c0ae188464d3769bec098 (patch)
tree3a614dd7c09af36f1ffb9b14ff1e54a41cc496f4
parent7d07402e243dc3e74a0b0d52beab587abf7af2a3 (diff)
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 <[email protected]> CC: "Md. Haris Iqbal" <[email protected]> CC: Jack Wang <[email protected]> Fixes: 137380c0ec40 ("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]>
-rw-r--r--drivers/block/rnbd/rnbd-clt-sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/rnbd/rnbd-clt-sysfs.c b/drivers/block/rnbd/rnbd-clt-sysfs.c
index c36d8b1ceeed..39887556cf95 100644
--- a/drivers/block/rnbd/rnbd-clt-sysfs.c
+++ b/drivers/block/rnbd/rnbd-clt-sysfs.c
@@ -25,7 +25,7 @@
static struct device *rnbd_dev;
static const struct class rnbd_dev_class = {
- .name = "rnbd_client",
+ .name = "rnbd-client",
};
static struct kobject *rnbd_devs_kobj;