target: rename user_helper back to alua_user_helper

Submitted by Andrei Vagin on July 16, 2018, 7:52 p.m.

Details

Message ID 1531770735-8536-1-git-send-email-avagin@openvz.org
State New
Series "target: rename user_helper back to alua_user_helper"
Headers show

Commit Message

Andrei Vagin July 16, 2018, 7:52 p.m.
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@openvz.org>
---
 drivers/target/target_core_configfs.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Patch hide | download patch | download mbox

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,
 };