smb3: fix various xid leaks
authorSteve French <stfrench@microsoft.com>
Sat, 19 May 2018 07:04:55 +0000 (02:04 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jun 2018 00:06:31 +0000 (08:06 +0800)
commitdcde75924f25c21f6eb6e394782e930ed439dda5
treee6b72a66dbf3729813d5d74014b48671ed335335
parente0b510a4170e220d978a6cfbe25e634193fffbfa
smb3: fix various xid leaks

commit cfe89091644c441a1ade6dae6d2e47b715648615 upstream.

Fix a few cases where we were not freeing the xid which led to
active requests being non-zero at unmount time.

Signed-off-by: Steve French <smfrench@gmail.com>
CC: Stable <stable@vger.kernel.org>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/smb2ops.c