vfs: add "device" tag to /proc/self/mountstats
commitac155955e6fa06982e0a310c154c279aad0cc91f
authorBryan Schumaker <bjschuma@netapp.com>
Fri, 7 Oct 2011 17:41:15 +0000 (7 13:41 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:43:16 +0000 (11 09:43 -0800)
tree9a32e0038a2a5ffc5bbfa332d49c6ff563277100
parent3a1f47cef0246bfcbd8719f2191754c3a7b86c0b
vfs: add "device" tag to /proc/self/mountstats

commit a877ee03ac010ded434b77f7831f43cbb1fcc60f upstream.

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>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/namespace.c