]> git.baikalelectronics.ru Git - kernel.git/commit
fs: dcache fix LRU ordering
authornpiggin@suse.de <npiggin@suse.de>
Sun, 26 Apr 2009 10:25:53 +0000 (20:25 +1000)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 May 2009 14:49:40 +0000 (10:49 -0400)
commitb45dfae56d7a7976e9c1f57e9b8c15a0e3d31f2c
tree4ebdb76143b6ebaa287274548a1d2c844a94f63e
parent9d16677676f5fdf90cb0af35f8cf11fe22f063cb
fs: dcache fix LRU ordering

Fix ordering of LRU when moving referenced dentries to the head of the list
(they should go to the head of the list in the same order as they were found
from the tail, rather than reverse order).

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c