]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 23 Jun 2017 04:10:52 +0000 (21:10 -0700)
commit7444277f600fa3a1f7bd161d41a81fb73e25eca0
treee03da4a6619577476a2418edd55e56d1dae23212
parent2de21e4431856e4411338e2f8f93087781b13c5e
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>
Orabug: 25395066
(cherry picked from commit 972c7f167974fa41ea8a2eed4b857cc59f59c42c)
Signed-off-by: Kyle Fortin <kyle.fortin@oracle.com>
Reviewed-by: Shan Hai <shan.hai@oracle.com>
Conflicts:
drivers/target/target_core_user.c
drivers/target/target_core_user.c