smb3: allow stats which track session and share reconnects to be reset
authorSteve French <stfrench@microsoft.com>
Sun, 16 Sep 2018 04:04:41 +0000 (23:04 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 24 Oct 2018 02:16:04 +0000 (21:16 -0500)
commit2c887635cd6ab3af619dc2be94e5bf8f2e172b78
treef8b3032be63c065a36eb925eff0b6dc5a116caee
parent4d5bdf28690a304e089ce750efc8b7dd718945c7
smb3: allow stats which track session and share reconnects to be reset

Currently, "echo 0 > /proc/fs/cifs/Stats" resets all of the stats
except the session and share reconnect counts.  Fix it to
reset those as well.

CC: Stable <stable@vger.kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
fs/cifs/cifs_debug.c