Commit 7360778
smb: client: make use of smbdirect_socket_init()
It's much safer to initialize the whole structure at
the beginning than doing it all over the place
and then miss to move it if code changes.
Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>1 parent 5a0d5ae commit 7360778
1 file changed
+1
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1398 | 1398 | | |
1399 | 1399 | | |
1400 | 1400 | | |
1401 | | - | |
1402 | | - | |
1403 | | - | |
1404 | | - | |
1405 | | - | |
1406 | | - | |
1407 | | - | |
1408 | 1401 | | |
1409 | 1402 | | |
1410 | 1403 | | |
| |||
1706 | 1699 | | |
1707 | 1700 | | |
1708 | 1701 | | |
| 1702 | + | |
1709 | 1703 | | |
1710 | 1704 | | |
1711 | 1705 | | |
1712 | 1706 | | |
1713 | 1707 | | |
1714 | | - | |
1715 | | - | |
1716 | | - | |
1717 | 1708 | | |
1718 | 1709 | | |
1719 | 1710 | | |
| |||
1823 | 1814 | | |
1824 | 1815 | | |
1825 | 1816 | | |
1826 | | - | |
1827 | | - | |
1828 | 1817 | | |
1829 | 1818 | | |
1830 | 1819 | | |
| |||
0 commit comments