tcmu: add helper to check if dev was configured
authorMike Christie <mchristi@redhat.com>
Thu, 9 Mar 2017 08:42:08 +0000 (02:42 -0600)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 18 Mar 2017 23:32:19 +0000 (16:32 -0700)
commit972c7f167974fa41ea8a2eed4b857cc59f59c42c
treea14839ba48ed742586f518643aa75f87dd41bb94
parent760bf578edf8122f2503a3a6a3f4b0de3b6ce0bb
tcmu: add helper to check if dev was configured

This adds a helper to check if the dev was configured. It
will be used in the next patch to prevent updates to some
config settings after the device has been setup.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_user.c