From: Nicholas Bellinger Date: Thu, 22 Aug 2013 18:32:31 +0000 (-0700) Subject: target: Make target_core_subsystem defined as non static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=56d128fa773c4ebfc1b806cb8143fb9d9647ba64;p=linux-beck.git target: Make target_core_subsystem defined as non static This patch makes the top-level target_core_subsystem array available to other target code, which is required by EXTENDED_COPY to pin the backend se_device using configfs_depend_item(), in order to ensure it can't be removed for the duration of a EXTENDED_COPY operation. Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Martin Petersen Cc: Chris Mason Cc: Roland Dreier Cc: Zach Brown Cc: James Bottomley Cc: Nicholas Bellinger Signed-off-by: Nicholas Bellinger --- diff --git a/drivers/target/target_core_configfs.c b/drivers/target/target_core_configfs.c index 24517d4aa1de..939ecc5679cd 100644 --- a/drivers/target/target_core_configfs.c +++ b/drivers/target/target_core_configfs.c @@ -268,7 +268,7 @@ static struct configfs_subsystem target_core_fabrics = { }, }; -static struct configfs_subsystem *target_core_subsystem[] = { +struct configfs_subsystem *target_core_subsystem[] = { &target_core_fabrics, NULL, };