[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230816022210.2501228-1-lizhijian@fujitsu.com>
Date: Wed, 16 Aug 2023 10:22:10 +0800
From: Li Zhijian <lizhijian@...itsu.com>
To: linux-block@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, axboe@...nel.dk,
Li Zhijian <lizhijian@...itsu.com>,
Ivan Orlov <ivan.orlov0322@...il.com>,
"Md. Haris Iqbal" <haris.iqbal@...os.com>,
Jack Wang <jinpu.wang@...os.com>
Subject: [PATCH] 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@...il.com>
CC: "Md. Haris Iqbal" <haris.iqbal@...os.com>
CC: Jack Wang <jinpu.wang@...os.com>
Fixes: 137380c0ec40 ("block/rnbd: make all 'class' structures const")
Signed-off-by: Li Zhijian <lizhijian@...itsu.com>
---
drivers/block/rnbd/rnbd-clt-sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
2.29.2
Powered by blists - more mailing lists