[Devel] [PATCH] target: rename user_helper back to alua_user_helper

Andrei Vagin avagin at openvz.org
Mon Jul 16 22:52:15 MSK 2018


After the last rebase, alua_user_helper was renamed into user_helper by
mistake.

https://pmc.acronis.com/browse/VSTOR-12238

Signed-off-by: Andrei Vagin <avagin at openvz.org>
---
 drivers/target/target_core_configfs.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/target/target_core_configfs.c b/drivers/target/target_core_configfs.c
index a5a66ce..101f668 100644
--- a/drivers/target/target_core_configfs.c
+++ b/drivers/target/target_core_configfs.c
@@ -1946,14 +1946,14 @@ static ssize_t target_dev_enable_store(struct config_item *item,
 	return count;
 }
 
-static ssize_t target_dev_user_helper_show(struct config_item *item, char *page)
+static ssize_t target_dev_alua_user_helper_show(struct config_item *item, char *page)
 {
 	struct se_device *dev = to_device(item);
 
 	return core_alua_show_user_helper(dev, page);
 }
 
-static ssize_t target_dev_user_helper_store(struct config_item *item,
+static ssize_t target_dev_alua_user_helper_store(struct config_item *item,
 		const char *page, size_t count)
 {
 	struct se_device *dev = to_device(item);
@@ -2232,7 +2232,7 @@ CONFIGFS_ATTR(target_dev_, udev_path);
 CONFIGFS_ATTR(target_dev_, enable);
 CONFIGFS_ATTR(target_dev_, alua_lu_gp);
 CONFIGFS_ATTR(target_dev_, lba_map);
-CONFIGFS_ATTR(target_dev_, user_helper);
+CONFIGFS_ATTR(target_dev_, alua_user_helper);
 
 static struct configfs_attribute *target_core_dev_attrs[] = {
 	&target_dev_attr_info,
@@ -2242,7 +2242,7 @@ static struct configfs_attribute *target_core_dev_attrs[] = {
 	&target_dev_attr_enable,
 	&target_dev_attr_alua_lu_gp,
 	&target_dev_attr_lba_map,
-	&target_dev_attr_user_helper,
+	&target_dev_attr_alua_user_helper,
 	NULL,
 };
 
-- 
1.8.3.1



More information about the Devel mailing list