From: Nicholas Bellinger Date: Sat, 12 Nov 2011 17:29:51 +0000 (-0800) Subject: target: Drop config_item_name usage in fabric TFO->free_wwn() X-Git-Tag: v3.2-rc5~31^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6297b07cbc42eb6b53eb88fce70a4727ea230797;p=pandora-kernel.git target: Drop config_item_name usage in fabric TFO->free_wwn() This patch removes config_item_name() informational usage of TFO->free_wwn() treewide in loopback, tcm_fc, ib_srpt and tcm_vhost module code. Using v4 target_core_fabric_configfs.c logic, a fabric call for config_item_name() in TFO->drop_wwn() context returns NULL as target_fabric_drop_wwn() invoking config_item_put() -> config_group_put() will release fabric_port->port_wwn.wwn_group before the last config_item_put() -> TFO->drop_wwn() is invoked. Reported-by: Bart Van Assche Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed