]> 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)
commit339d459362cedf95ab57618feb5b4f4fb3116a16
treefbf4c2fd154936afdea976514f5d50e94e7225da
parent7b031a5c0a45f96f69ac2e7df30e7ab2c89e973e
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