From patchwork Wed Aug 16 02:22:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li Zhijian X-Patchwork-Id: 13354519 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FF4FC04A6A for ; Wed, 16 Aug 2023 02:24:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241265AbjHPCXw (ORCPT ); Tue, 15 Aug 2023 22:23:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241263AbjHPCXr (ORCPT ); Tue, 15 Aug 2023 22:23:47 -0400 X-Greylist: delayed 64 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 15 Aug 2023 19:23:44 PDT Received: from esa11.hc1455-7.c3s2.iphmx.com (esa11.hc1455-7.c3s2.iphmx.com [207.54.90.137]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30AA51FDC for ; Tue, 15 Aug 2023 19:23:43 -0700 (PDT) X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="107589787" X-IronPort-AV: E=Sophos;i="6.01,175,1684767600"; d="scan'208";a="107589787" Received: from unknown (HELO oym-r3.gw.nic.fujitsu.com) ([210.162.30.91]) by esa11.hc1455-7.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2023 11:22:38 +0900 Received: from oym-m3.gw.nic.fujitsu.com (oym-nat-oym-m3.gw.nic.fujitsu.com [192.168.87.60]) by oym-r3.gw.nic.fujitsu.com (Postfix) with ESMTP id E4C91CA1E4; Wed, 16 Aug 2023 11:22:35 +0900 (JST) Received: from kws-ab4.gw.nic.fujitsu.com (kws-ab4.gw.nic.fujitsu.com [192.51.206.22]) by oym-m3.gw.nic.fujitsu.com (Postfix) with ESMTP id 28221D9491; Wed, 16 Aug 2023 11:22:35 +0900 (JST) Received: from localhost.localdomain (unknown [10.167.234.230]) by kws-ab4.gw.nic.fujitsu.com (Postfix) with ESMTP id AB77FE20ED; Wed, 16 Aug 2023 11:22:33 +0900 (JST) From: Li Zhijian To: linux-block@vger.kernel.org Cc: linux-kernel@vger.kernel.org, axboe@kernel.dk, Li Zhijian , Ivan Orlov , "Md. Haris Iqbal" , Jack Wang Subject: [PATCH] drivers/rnbd: restore sysfs interface to rnbd-client Date: Wed, 16 Aug 2023 10:22:10 +0800 Message-Id: <20230816022210.2501228-1-lizhijian@fujitsu.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSS-9.1.0.1417-9.0.0.1002-27816.004 X-TM-AS-User-Approved-Sender: Yes X-TMASE-Version: IMSS-9.1.0.1417-9.0.1002-27816.004 X-TMASE-Result: 10--2.244700-10.000000 X-TMASE-MatchedRID: lzIp1xaUHQqEYjs8p9Au+BFbgtHjUWLyG24YVeuZGmOpTkI0HK8zpb8F Hrw7frluf146W0iUu2tMCgkc3/BmTUkjllSXrjtQFEUknJ/kEl5q8/xv2Um1avoLR4+zsDTtiN2 nYwbbDKyLv11DZK+EhB2bRrumTkUyY3hCj5vE5rvHPuDMDtTR7ZQJQ3x6r9Z6valsT8ESCZaSH6 3OwKxoBLsdeAyRPdTvqgt4/4pGnbSGk+xUaqdMDwHEKwHwYevbwUSxXh+jiUgkww/gwY7hMA== X-TMASE-SNAP-Result: 1.821001.0001-0-1-22:0,33:0,34:0-0 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org 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 CC: "Md. Haris Iqbal" CC: Jack Wang Fixes: 137380c0ec40 ("block/rnbd: make all 'class' structures const") Signed-off-by: Li Zhijian Acked-by: Jack Wang --- 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;