]> git.decadent.org.uk Git - nfs-utils.git/commit
mountstats: Breaks on 3.1 kernels nfs-utils-1-2-5-rc3
authorSteve Dickson <steved@redhat.com>
Wed, 21 Sep 2011 18:05:07 +0000 (14:05 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 21 Sep 2011 19:41:59 +0000 (15:41 -0400)
commit4ee1190080fbb8cdd5ed2bef7c00a04799650b1b
tree2832c886f5818b4894fd5c2ccffc6332a2dbb4d7
parentc9823f479f2d0d379d85a37ad2af41faca6cc911
mountstats: Breaks on 3.1 kernels

mountstats depend on all devices entries in /proc/self/mountstats
to start with the word 'device'. With 3.1 kernels, NFS entries
start with the actual device (i.e. server:/export) not
the word 'device'. This change confused mountstats parsing.

Signed-off-by: Steve Dickson <steved@redhat.com>
tools/mountstats/mountstats.py