]> git.ipfire.org Git - people/ms/linux.git/commit - fs/cifs/file.c
cifs: track writepages in vfs operation counters
authorSteve French <stfrench@microsoft.com>
Thu, 11 Oct 2018 06:01:02 +0000 (01:01 -0500)
committerSteve French <stfrench@microsoft.com>
Wed, 24 Oct 2018 02:16:05 +0000 (21:16 -0500)
commit0cb012d1a0a9ead759112da141698a2078fbf2ce
tree72a2b2387f9b5d5cafe3accfd62af28f6f2f6107
parentf70556c8cae976e50ba9c27dd4c1a86b57efc17d
cifs: track writepages in vfs operation counters

writepages and readpages operations did not call get/free_xid
so the statistics for file copy could get confusing with "vfs operations"
not increasing.  Add get_xid and free_xid to cifs readpages and
writepages functions.

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