inode: convert inode_stat.nr_unused to per-cpu counters
authorDave Chinner <dchinner@redhat.com>
Fri, 8 Jul 2011 04:14:38 +0000 (14:14 +1000)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 Jul 2011 05:44:34 +0000 (01:44 -0400)
commitfcb94f72d3e0f4f34b326c2986da8e5996daf72c
treea18da3a56f447264c0dc2501a41afc5890afc78c
parente9299f5058595a655c3b207cda9635e28b9197e6
inode: convert inode_stat.nr_unused to per-cpu counters

Before we split up the inode_lru_lock, the unused inode counter
needs to be made independent of the global inode_lru_lock. Convert
it to per-cpu counters to do this.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/inode.c