diff mbox series

drivers/rnbd: restore sysfs interface to rnbd-client

Message ID 20230816022210.2501228-1-lizhijian@fujitsu.com (mailing list archive)
State New, archived
Headers show
Series drivers/rnbd: restore sysfs interface to rnbd-client | expand

Commit Message

Zhijian Li (Fujitsu) Aug. 16, 2023, 2:22 a.m. UTC
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>
---
 drivers/block/rnbd/rnbd-clt-sysfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jinpu Wang Aug. 16, 2023, 5:56 a.m. UTC | #1
On Wed, Aug 16, 2023 at 4:22 AM Li Zhijian <lizhijian@fujitsu.com> wrote:
>
> 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>
oh, right, thx for the fix.
Acked-by: Jack Wang <jinpu.wang@ionos.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
>
Jens Axboe Aug. 16, 2023, 3:34 p.m. UTC | #2
On Wed, 16 Aug 2023 10:22:10 +0800, Li Zhijian wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] drivers/rnbd: restore sysfs interface to rnbd-client
      commit: 8fc3dbf3dfb1ff30c9893fbbf02b0169f25944fe

Best regards,
Jens Axboe Aug. 16, 2023, 3:35 p.m. UTC | #3
On Wed, 16 Aug 2023 10:22:10 +0800, Li Zhijian wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] drivers/rnbd: restore sysfs interface to rnbd-client
      commit: f4283bc7e38ac89d0c6c0ae188464d3769bec098

Best regards,
diff mbox series

Patch

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;