OSDN Git Service

CIFS: Do not log credits when unmounting a share
authorPavel Shilovsky <pshilov@microsoft.com>
Fri, 25 Jan 2019 18:56:41 +0000 (10:56 -0800)
committerSteve French <stfrench@microsoft.com>
Tue, 5 Mar 2019 02:06:39 +0000 (20:06 -0600)
commit82e0457af5f92126a0a6389d827b1e4daad8e0fd
tree2945aa68964944470ac8905d00468ac63493aced
parent6b15eb18c6a9ddfbb387456c0f1ed86d987cb741
CIFS: Do not log credits when unmounting a share

Currently we only skip credits logging on reconnects. When
unmounting a share the number of credits on the client doesn't
matter, so skip logging in such cases too.

Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2ops.c