Re: [PATCH] drivers/rnbd: restore sysfs interface to rnbd-client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 16, 2023 at 4:22 AM Li Zhijian <lizhijian@xxxxxxxxxxx> 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@xxxxxxxxx>
> CC: "Md. Haris Iqbal" <haris.iqbal@xxxxxxxxx>
> CC: Jack Wang <jinpu.wang@xxxxxxxxx>
> Fixes: 137380c0ec40 ("block/rnbd: make all 'class' structures const")
> Signed-off-by: Li Zhijian <lizhijian@xxxxxxxxxxx>
oh, right, thx for the fix.
Acked-by: Jack Wang <jinpu.wang@xxxxxxxxx>
> ---
>  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
>




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux