Commit aa7dfbb
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>1 parent b03b1ae commit aa7dfbb
2 files changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3104 | 3104 | | |
3105 | 3105 | | |
3106 | 3106 | | |
| 3107 | + | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
| 3116 | + | |
| 3117 | + | |
| 3118 | + | |
3107 | 3119 | | |
3108 | 3120 | | |
3109 | 3121 | | |
| |||
3122 | 3134 | | |
3123 | 3135 | | |
3124 | 3136 | | |
| 3137 | + | |
3125 | 3138 | | |
3126 | 3139 | | |
3127 | 3140 | | |
| |||
3217 | 3230 | | |
3218 | 3231 | | |
3219 | 3232 | | |
3220 | | - | |
| 3233 | + | |
3221 | 3234 | | |
3222 | 3235 | | |
3223 | 3236 | | |
| |||
3261 | 3274 | | |
3262 | 3275 | | |
3263 | 3276 | | |
3264 | | - | |
| 3277 | + | |
3265 | 3278 | | |
3266 | 3279 | | |
3267 | 3280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| 437 | + | |
437 | 438 | | |
438 | 439 | | |
439 | 440 | | |
| |||
449 | 450 | | |
450 | 451 | | |
451 | 452 | | |
| 453 | + | |
452 | 454 | | |
453 | 455 | | |
454 | 456 | | |
| |||
0 commit comments