OSDN Git Service

smb3: fix bytes_read statistics
authorSteve French <stfrench@microsoft.com>
Mon, 11 Feb 2019 21:38:12 +0000 (15:38 -0600)
committerSteve French <stfrench@microsoft.com>
Tue, 5 Mar 2019 02:05:35 +0000 (20:05 -0600)
commitd26e2903fc10cfa2d3b8587b9eb8cf7c2a3ff2f5
treecd9cb07009ce73b8d44d46729ca2fb79b6d66410
parent2109464184919f81efd593b4008291448c522815
smb3: fix bytes_read statistics

/proc/fs/cifs/Stats bytes_read was double counting reads when
uncached (ie mounted with cache=none)

Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/file.c