Commit 79c932c
scsi: qedf: Do not put host in qedf_vport_create() unconditionally
Do not drop reference count on vn_port->host in qedf_vport_create()
unconditionally. Instead drop the reference count in qedf_vport_destroy().
Link: https://lore.kernel.org/r/20210521143440.84816-1-dwagner@suse.de
Reported-by: Javed Hasan <jhasan@marvell.com>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 696770e commit 79c932c
1 file changed
Lines changed: 9 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1827 | 1827 | | |
1828 | 1828 | | |
1829 | 1829 | | |
1830 | | - | |
| 1830 | + | |
1831 | 1831 | | |
1832 | 1832 | | |
1833 | 1833 | | |
1834 | 1834 | | |
1835 | 1835 | | |
1836 | | - | |
1837 | | - | |
| 1836 | + | |
1838 | 1837 | | |
1839 | 1838 | | |
1840 | 1839 | | |
1841 | 1840 | | |
1842 | 1841 | | |
1843 | 1842 | | |
1844 | | - | |
1845 | | - | |
| 1843 | + | |
1846 | 1844 | | |
1847 | 1845 | | |
1848 | 1846 | | |
| |||
1866 | 1864 | | |
1867 | 1865 | | |
1868 | 1866 | | |
1869 | | - | |
| 1867 | + | |
1870 | 1868 | | |
1871 | 1869 | | |
1872 | 1870 | | |
| |||
1884 | 1882 | | |
1885 | 1883 | | |
1886 | 1884 | | |
1887 | | - | |
| 1885 | + | |
1888 | 1886 | | |
1889 | 1887 | | |
1890 | 1888 | | |
| |||
1925 | 1923 | | |
1926 | 1924 | | |
1927 | 1925 | | |
1928 | | - | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
1929 | 1929 | | |
1930 | | - | |
1931 | 1930 | | |
1932 | 1931 | | |
1933 | 1932 | | |
| |||
1968 | 1967 | | |
1969 | 1968 | | |
1970 | 1969 | | |
1971 | | - | |
1972 | | - | |
| 1970 | + | |
1973 | 1971 | | |
1974 | 1972 | | |
1975 | 1973 | | |
| |||
0 commit comments