cifs: smbd: Merge code to track pending packets
authorLong Li <longli@microsoft.com>
Mon, 30 Mar 2020 18:04:06 +0000 (11:04 -0700)
committerSteve French <stfrench@microsoft.com>
Tue, 7 Apr 2020 17:41:16 +0000 (12:41 -0500)
commit072a14ec6386829314ca96c725175ac1631360da
treea5d6a9dbfb2d08deacfdb08bc4e697a917685544
parente79b0332ae06b4895dcecddf4bbc5d3917e9383c
cifs: smbd: Merge code to track pending packets

As an optimization, SMBD tries to track two types of packets: packets with
payload and without payload. There is no obvious benefit or performance gain
to separately track two types of packets.

Just treat them as pending packets and merge the tracking code.

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifs_debug.c
fs/cifs/smbdirect.c
fs/cifs/smbdirect.h