summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_fs.h
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2006-04-11 05:11:20 (GMT)
committerNathan Scott <nathans@sgi.com>2006-04-11 05:11:20 (GMT)
commit58829e490ee805f1c8b3009abc90e2a1a7a0d278 (patch)
tree6eb08b56ec5cf164ba70113749cb800a7a0ed83d /fs/xfs/xfs_fs.h
parent1fc5d959d88a5f77aa7e4435f6c9d0e2d2236704 (diff)
downloadlinux-58829e490ee805f1c8b3009abc90e2a1a7a0d278.tar.xz
[XFS] Fix an inode use-after-free durin an unpin. When reclaiming inodes
that have been unlinked, we may need to execute transactions during reclaim. By the time the transaction has hit the disk, the linux inode and xfs vnode may already have been freed so we can't reference them safely. Use the known xfs inode state to determine if it is safe to reference the vnode and linux inode during the unpin operation. SGI-PV: 946321 SGI-Modid: xfs-linux-melb:xfs-kern:25687a Signed-off-by: David Chinner <dgc@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_fs.h')
0 files changed, 0 insertions, 0 deletions