diff options
author | 2010-01-11 11:45:21 +0000 | |
---|---|---|
committer | 2010-01-15 13:46:02 -0600 | |
commit | 4b6a46882cca8349e8942e2650c33b11bc571c92 (patch) | |
tree | 5a5ab0783340fa4acd75a172d857d0077a527809 /mm/vmalloc.c | |
parent | xfs: Remove inode iolock held check during allocation (diff) | |
download | wireguard-linux-4b6a46882cca8349e8942e2650c33b11bc571c92.tar.xz wireguard-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 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions