Commit c77885d
smb: server: initialize recv_io->cqe.done = recv_done just once
smbdirect_recv_io structures are pre-allocated so we can set the
callback function just once.
This will make it easy to move smb_direct_post_recv to common code
soon.
Cc: Tom Talpey <tom@talpey.com>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>1 parent e2e5be7 commit c77885d
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
761 | | - | |
762 | 761 | | |
763 | 762 | | |
764 | 763 | | |
| |||
2339 | 2338 | | |
2340 | 2339 | | |
2341 | 2340 | | |
| 2341 | + | |
2342 | 2342 | | |
2343 | 2343 | | |
2344 | 2344 | | |
| |||
2353 | 2353 | | |
2354 | 2354 | | |
2355 | 2355 | | |
| 2356 | + | |
| 2357 | + | |
| 2358 | + | |
2356 | 2359 | | |
2357 | 2360 | | |
2358 | 2361 | | |
| |||
0 commit comments