CIFS: Fix trace command logging for SMB2 reads and writes
authorPavel Shilovsky <pshilov@microsoft.com>
Fri, 25 Jan 2019 19:38:53 +0000 (11:38 -0800)
committerSteve French <stfrench@microsoft.com>
Tue, 29 Jan 2019 23:19:56 +0000 (17:19 -0600)
commit7d42e72fe8ee5ab70b1af843dd7d8615e6fb0abe
tree93bfa8359c6f513abeb680f69e58284b27ce24c1
parent9bda8723da2d55b1de833b98cf802b88006e5b69
CIFS: Fix trace command logging for SMB2 reads and writes

Currently we log success once we send an async IO request to
the server. Instead we need to analyse a response and then log
success or failure for a particular command. Also fix argument
list for read logging.

Cc: <stable@vger.kernel.org> # 4.18
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c