IB/srp: Make writing into the "add_target" sysfs attribute interruptible
authorBart Van Assche <bvanassche@acm.org>
Fri, 14 Mar 2014 12:53:10 +0000 (13:53 +0100)
committerRoland Dreier <roland@purestorage.com>
Mon, 24 Mar 2014 17:05:31 +0000 (10:05 -0700)
Avoid that stopping srp_daemon takes unusually long due to a cable
pull by making writing into the "add_target" sysfs attribute
interruptible.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/srp/ib_srp.c

Simple merge