xfs: fix stale inode flush avoidance
authorDave Chinner <david@fromorbit.com>
Mon, 11 Jan 2010 11:45:21 +0000 (11:45 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 15 Jan 2010 19:46:02 +0000 (13:46 -0600)
When reclaiming stale inodes, we need to guarantee that inodes are
unpinned before returning with a "clean" status. If we don't we can
reclaim inodes that are pinned, leading to use after free in the
transaction subsystem as transactions complete.

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