]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srp: Make writing the add_target sysfs attr interruptible
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 21 Nov 2016 21:58:18 +0000 (13:58 -0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Dec 2016 18:31:47 +0000 (13:31 -0500)
commitd6a3a5c2a94ee93474d48ce6a427b1b1ac35209d
treec03b9e1df1752e7da6c988e5fa99b77e1cb3c5df
parent5fd79f098ccf893ef72b6c3431f45da37050f972
IB/srp: Make writing the add_target sysfs attr interruptible

Avoid that shutdown of srp_daemon is delayed if add_target_mutex is
held by another process.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c