target: Have dev/enable show if TCM device is configured
authorAndy Grover <agrover@redhat.com>
Tue, 30 Apr 2013 18:59:15 +0000 (11:59 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 3 May 2013 23:46:02 +0000 (16:46 -0700)
commit64146db71e1aab919a3861d4ac958086da3a0973
tree2cbe188952f768ac04b513a19b6245b943429d55
parente3e84cda321703b123f36488f50700f371bc7230
target: Have dev/enable show if TCM device is configured

User tools need to know if the device is properly configured, since if
not, some other attributes are invalid.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_configfs.c