[SCSI] target: Remove procfs based target_core_mib.c code
authorNicholas Bellinger <nab@linux-iscsi.org>
Wed, 9 Feb 2011 23:35:03 +0000 (15:35 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 12 Feb 2011 18:15:47 +0000 (12:15 -0600)
commite89d15eeadb172bd53ca6362bf9ab6b22077224c
treed7b5716ed3ccc80a4b3863305d6a0f8284ce49e4
parente63af95888894af6ca4112dc90083d1dff0fec29
[SCSI] target: Remove procfs based target_core_mib.c code

This patch removes the legacy procfs based target_core_mib.c code,
and moves the necessary scsi_index_tables functions and defines into
target_core_transport.c and target_core_base.h code to allow existing
fabric independent statistics to function.

This includes the removal of a handful of 'atomic_t mib_ref_count'
counters used in struct se_node_acl, se_session and se_hba to prevent
removal while using seq_list procfs walking logic.

[jejb: fix up compile failures]
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/target/Makefile
drivers/target/target_core_configfs.c
drivers/target/target_core_device.c
drivers/target/target_core_mib.c [deleted file]
drivers/target/target_core_mib.h [deleted file]
drivers/target/target_core_tpg.c
drivers/target/target_core_transport.c
include/target/target_core_base.h
include/target/target_core_transport.h