]> git.decadent.org.uk Git - nfs-utils.git/commit
mountstats: Breaks on 3.1 kernels
authorSteve Dickson <steved@redhat.com>
Wed, 21 Sep 2011 18:05:07 +0000 (14:05 -0400)
committerLuk Claes <luk@debian.org>
Sun, 2 Oct 2011 14:16:48 +0000 (16:16 +0200)
commitdbf4e0cb138e07700975f77d74c077ee11f2766a
treec4686110f428c0440fd0c76c75c0257c6e83ff05
parentfdf7aab1cdcc7903119b7634b98bfb2c4ad2cdcf
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