commit | aa7dfbb41b5a60ab90e244d6f586b8cb5c791c3e | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@acm.org> | Wed Jul 27 12:34:14 2022 -0700 |
committer | Jason Gunthorpe <jgg@nvidia.com> | Fri Jul 29 16:45:37 2022 -0300 |
tree | f5a6a861b427d71b0cb815226f6e9b7e65a46d50 | |
parent | b03b1ae2a3125d4475452e4f19f5d3a6e910ff6e [diff] |
RDMA/srpt: Introduce a reference count in struct srpt_device This will be used to keep struct srpt_device around as long as either the RDMA port exists or a LIO target port is associated with the struct srpt_device. Link: https://lore.kernel.org/r/20220727193415.1583860-3-bvanassche@acm.org Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>