]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
IB/srp: Fix srp_abort()
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 23 Feb 2018 22:09:24 +0000 (14:09 -0800)
committerSasha Levin <alexander.levin@microsoft.com>
Wed, 23 May 2018 01:36:33 +0000 (21:36 -0400)
commit03b925ee5d3f4065e08c934e9082140e5dd841c0
tree6d6ed16df06e249214776e72613622e6dd603417
parent7b662d281baa686269f6d256a7867880eeb4c3ee
IB/srp: Fix srp_abort()

[ Upstream commit e68088e78d82920632eba112b968e49d588d02a2 ]

Before commit e494f6a72839 ("[SCSI] improved eh timeout handler") it
did not really matter whether or not abort handlers like srp_abort()
called .scsi_done() when returning another value than SUCCESS. Since
that commit however this matters. Hence only call .scsi_done() when
returning SUCCESS.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
drivers/infiniband/ulp/srp/ib_srp.c