]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: Fix fscache stat printing in nfs_show_stats()
authorTuo Chen Peng <tpeng@nvidia.com>
Wed, 7 Jun 2017 06:42:44 +0000 (23:42 -0700)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:58:27 +0000 (15:58 -0400)
commitdd3771b8cacbdaa4ced4a42655948afa9909021f
treecbdf7f8319d4d8a0c764ac220a3e5fb946308470
parent2ef7ac9cba0603a957fba4202914e73be8df85ea
nfs: Fix fscache stat printing in nfs_show_stats()

nfs_show_stats() was incorrectly reading statistics for bytes when printing that
for fsc. It caused files like /proc/self/mountstats to report incorrect fsc
statistics for NFS mounts.

Signed-off-by: Tuo Chen Peng <tpeng@nvidia.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/super.c