Commit 1c11058
nvmet-fc: do not tack refs on tgtports from assoc
The association life time is tied to the life time of the target port.
That means we should not take extra a refcount when creating a
association.
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>1 parent 50b474e commit 1c11058
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1107 | 1107 | | |
1108 | 1108 | | |
1109 | 1109 | | |
1110 | | - | |
1111 | | - | |
1112 | | - | |
1113 | 1110 | | |
1114 | 1111 | | |
1115 | | - | |
| 1112 | + | |
1116 | 1113 | | |
1117 | 1114 | | |
1118 | 1115 | | |
| |||
1142 | 1139 | | |
1143 | 1140 | | |
1144 | 1141 | | |
1145 | | - | |
1146 | | - | |
1147 | 1142 | | |
1148 | 1143 | | |
1149 | 1144 | | |
| |||
1180 | 1175 | | |
1181 | 1176 | | |
1182 | 1177 | | |
1183 | | - | |
1184 | 1178 | | |
1185 | 1179 | | |
1186 | 1180 | | |
| |||
0 commit comments