Both rnbd-srv and rnbd-clt set it with 'clt', which is not clear, let's change them to 'clt' and 'srv' accordingly. Signed-off-by: Guoqing Jiang <guoqing.jiang@xxxxxxxxx> --- drivers/block/rnbd/rnbd-clt-sysfs.c | 2 +- drivers/block/rnbd/rnbd-srv-sysfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/rnbd/rnbd-clt-sysfs.c b/drivers/block/rnbd/rnbd-clt-sysfs.c index a0b49a0c0bdd..f6e2b075d2d5 100644 --- a/drivers/block/rnbd/rnbd-clt-sysfs.c +++ b/drivers/block/rnbd/rnbd-clt-sysfs.c @@ -652,7 +652,7 @@ int rnbd_clt_create_sysfs_files(void) rnbd_dev = device_create_with_groups(rnbd_dev_class, NULL, MKDEV(0, 0), NULL, - default_attr_groups, "ctl"); + default_attr_groups, "clt"); if (IS_ERR(rnbd_dev)) { err = PTR_ERR(rnbd_dev); goto cls_destroy; diff --git a/drivers/block/rnbd/rnbd-srv-sysfs.c b/drivers/block/rnbd/rnbd-srv-sysfs.c index 4962826e9639..f17a4085dfbb 100644 --- a/drivers/block/rnbd/rnbd-srv-sysfs.c +++ b/drivers/block/rnbd/rnbd-srv-sysfs.c @@ -219,7 +219,7 @@ int rnbd_srv_create_sysfs_files(void) return PTR_ERR(rnbd_dev_class); rnbd_dev = device_create(rnbd_dev_class, NULL, - MKDEV(0, 0), NULL, "ctl"); + MKDEV(0, 0), NULL, "srv"); if (IS_ERR(rnbd_dev)) { err = PTR_ERR(rnbd_dev); goto cls_destroy; -- 2.35.3