xfs: reclaim inodes under a write lock
authorDave Chinner <david@fromorbit.com>
Sun, 10 Jan 2010 23:51:45 +0000 (23:51 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 15 Jan 2010 19:43:55 +0000 (13:43 -0600)
Make the inode tree reclaim walk exclusive to avoid races with
concurrent sync walkers and lookups. This is a version of a patch
posted by Christoph Hellwig that avoids all the code duplication.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>

No differences found