target: refactor core_update_device_list_for_node()

Code was almost entirely divided based on value of bool param "enable".

Split it into two functions.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
Andy Grover 2012-07-12 17:34:58 -07:00 • committed by Nicholas Bellinger
commit e80ac6c4cc
3 changed files with 103 additions and 77 deletions