summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-04-20 00:26:07 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-04-20 00:26:07 -0700
commitde8e3749bfc54556c3b9a40534fc2d3309ec84e6 (patch)
tree0d3349f467fa0dcbfe07bb225f84f1da0754267c /kernel
parent70d6700010a67ff55656cd630bf08b5c2a1756e3 (diff)
[PATCH] dentry_stat accounting fix
From: Maneesh Soni <maneesh@in.ibm.com> This patch the corrects the dentry_stat.nr_unused calculation. In select_parent() and shrink_dcache_anon() we were not doing any adjustments to the nr_unused count after manipulating the dentry_unused list. Now the nr_unused count is decremented if the dentry is on dentry_unused list and is removed from there. Further in the same routines, we have to adjust the nr_unused count again if the dentry is moved to the end of d_lru list for pruning.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions