cifs:smbd Use the correct DMA direction when sending data
authorLong Li <longli@microsoft.com>
Tue, 14 May 2019 04:01:29 +0000 (21:01 -0700)
committerSteve French <stfrench@microsoft.com>
Tue, 14 May 2019 21:57:43 +0000 (16:57 -0500)
commit7f46d23e1b14f0827eb19c60eedcc6525ca2e742
tree94e0a9cfd587ec331066340be7d02830bfd5ab60
parent1d2a4f57cebdab1d496b976a1e6ea998dc9b03c8
cifs:smbd Use the correct DMA direction when sending data

When sending data, use the DMA_TO_DEVICE to map buffers. Also log the number
of requests in a compounding request from upper layer.

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Acked-by: Pavel Shilovsky <pshilov@microsoft.com>
Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/smbdirect.c