]> git.openpandora.org Git - pandora-kernel.git/commitdiff
xfs: active inodes stat is broken
authorDave Chinner <dchinner@redhat.com>
Wed, 3 Dec 2014 22:42:40 +0000 (09:42 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 3 Dec 2014 22:42:40 +0000 (09:42 +1100)
vn_active only ever gets decremented, so it has a very large
negative number.  Make it track the inode count we currently have
allocated properly so we can easily track the size of the inode
cache via tools like PCP.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_icache.c
fs/xfs/xfs_super.c

Simple merge
Simple merge