]> www.infradead.org Git - users/dwmw2/linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Feb 2019 16:27:40 +0000 (17:27 +0100)
commit50dd5c261f729f2b5714577cdaba50a75f9d7455
treefb32a214e4ec0f424291df240fb826101b7e0501
parentfd4a745d51c52893cdd31799fc148b629a62bf62
CIFS: Fix trace command logging for SMB2 reads and writes

commit 7d42e72fe8ee5ab70b1af843dd7d8615e6fb0abe upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/smb2pdu.c