]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
vfs: add "device" tag to /proc/self/mountstats
authorBryan Schumaker <bjschuma@netapp.com>
Fri, 7 Oct 2011 17:41:15 +0000 (13:41 -0400)
committerChristoph Hellwig <hch@serles.lst.de>
Fri, 28 Oct 2011 11:55:08 +0000 (13:55 +0200)
commita877ee03ac010ded434b77f7831f43cbb1fcc60f
treecb8030a12bb2d0c13ae7d46d918a08e14701a59b
parent814e1d25a59662f9552e6dc1305d1df3616fc87e
vfs: add "device" tag to /proc/self/mountstats

nfsiostat was failing to find mounted filesystems on kernels after
2.6.38 because of changes to show_vfsstat() by commit
c7f404b40a3665d9f4e9a927cc5c1ee0479ed8f9.  This patch adds back the
"device" tag before the nfs server entry so scripts can parse the
mountstats file correctly.

Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
CC: stable@kernel.org [>=2.6.39]
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/namespace.c