[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMGffE=uzdnCjewjXXm67js9mgeWYUbBAJ3J2VTh_QZYosoaww@mail.gmail.com>
Date: Wed, 16 Aug 2023 07:56:36 +0200
From: Jinpu Wang <jinpu.wang@...os.com>
To: Li Zhijian <lizhijian@...itsu.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
axboe@...nel.dk, Ivan Orlov <ivan.orlov0322@...il.com>,
"Md. Haris Iqbal" <haris.iqbal@...os.com>
Subject: Re: [PATCH] drivers/rnbd: restore sysfs interface to rnbd-client
On Wed, Aug 16, 2023 at 4:22 AM Li Zhijian <lizhijian@...itsu.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@...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>
oh, right, thx for the fix.
Acked-by: Jack Wang <jinpu.wang@...os.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