scsi: tcmu: simplify nl interface
authorMike Christie <mchristi@redhat.com>
Fri, 22 Jun 2018 21:40:20 +0000 (16:40 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Jun 2018 16:27:06 +0000 (12:27 -0400)
commit9de3a1ef032a5ad5d7b642d625b6bd362b1989d6
tree6e6223bb26942c2265003344b5a9b706dc54153d
parent3228691ffec134353cb5bf6fb4342283e0243412
scsi: tcmu: simplify nl interface

Just return EBUSY if a nl request comes in while processing one. The upper
layers do not support sending multiple create/remove requests at the same
time (you cannot have a create and remove at the same time or do multiple
creates or removes at the same time) and doing a reconfig while a
create/remove is still executing does not make sense.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Tested-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_user.c