diff options
author | Dave Chinner <david@fromorbit.com> | 2010-01-11 11:45:21 +0000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-01-15 13:46:02 -0600 |
commit | 4b6a46882cca8349e8942e2650c33b11bc571c92 (patch) | |
tree | 5a5ab0783340fa4acd75a172d857d0077a527809 /fs/xfs/xfs_rtalloc.c | |
parent | 126976c7c17d3bdfbc1fe9e0af8bee9f62d14cc6 (diff) | |
download | linux-4b6a46882cca8349e8942e2650c33b11bc571c92.tar.gz linux-4b6a46882cca8349e8942e2650c33b11bc571c92.tar.bz2 linux-4b6a46882cca8349e8942e2650c33b11bc571c92.zip |
xfs: fix stale inode flush avoidance
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>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
0 files changed, 0 insertions, 0 deletions