target: use new "dbroot" target attribute
authorLee Duncan <lduncan@suse.com>
Fri, 15 Apr 2016 01:18:51 +0000 (18:18 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 10 May 2016 06:06:20 +0000 (23:06 -0700)
commitfdddf932269a75c3dd1c68d82b9a0fbc1821a2a8
tree3f682dbe21533e9156b969a97fb1c30f34d8ab96
parenta96e9783e05851d5f06da0ae7635aec55a228e3d
target: use new "dbroot" target attribute

This commit updates the target core ALUA and PR
modules to use the new "dbroot" attribute instead
of assuming the target database is in "/var/target".

Signed-off-by: Lee Duncan <lduncan@suse.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_alua.c
drivers/target/target_core_pr.c