OSDN Git Service

Revert "IB/srp: Avoid that a cable pull can trigger a kernel crash"
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 23 Feb 2018 22:09:25 +0000 (14:09 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 28 Feb 2018 20:57:39 +0000 (13:57 -0700)
commitc74ff7501e8dda9e9542a1fcabb2233776c1d19d
tree10f95b45765315767b47fce6af0046049452a7cf
parente68088e78d82920632eba112b968e49d588d02a2
Revert "IB/srp: Avoid that a cable pull can trigger a kernel crash"

The caller of srp_ib_lookup_path() is responsible for holding a reference
on the SCSI host. That means that commit 8a0d18c62121 was not necessary.
Hence revert it.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/srp/ib_srp.c