]> git.baikalelectronics.ru Git - kernel.git/commit
vfs: fix spinning prevention in prune_icache_sb
authorChristoph Hellwig <hch@lst.de>
Fri, 28 Oct 2011 08:03:41 +0000 (10:03 +0200)
committerroot <root@serles.lst.de>
Fri, 28 Oct 2011 12:58:55 +0000 (14:58 +0200)
commitd7102291c6e44be2cef2cd7b3eab07eae0e89c66
treefbf4c2fd154936afdea976514f5d50e94e7225da
parent4561bb93aa66b36e70e50d343bcb6b640346e62a
vfs: fix spinning prevention in prune_icache_sb

We need to move the inode to the end of the list to actually make the
spinning prevention explained in the comment above it work.  With a
plain list_move it will simply stay in place as we're always reclaiming
from the head of the list.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/inode.c