tcmu: Make dev_config configurable
authorBryant G. Ly <bryantly@linux.vnet.ibm.com>
Tue, 6 Jun 2017 14:28:51 +0000 (09:28 -0500)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 7 Jul 2017 06:11:31 +0000 (23:11 -0700)
commitee01825220f01c0befea25f08325962fa9374ee2
tree8423385f45b34cd97eaa9299599b678f0ba7fb42
parent801fc54d5d943e8a6a6bc26bc94fb9b90938ff68
tcmu: Make dev_config configurable

This allows for userspace to change the device path after
it has been created. Thus giving the user the ability to change
the path. The use case for this is to allow for virtual optical
to have media change.

Signed-off-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com>
Reviewed-By: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_user.c