]> err.no Git - linux-2.6/commit
[XFS] Fix use-after-free during log unmount.
authorDavid Chinner <dgc@sgi.com>
Mon, 14 May 2007 08:24:16 +0000 (18:24 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Sat, 14 Jul 2007 05:22:34 +0000 (15:22 +1000)
commit3db296f341b5902c4f9317022ae5d4da2d59d598
treef351eb33c6bac70d82d9f3adf0836d4c424bad92
parent40095b64f5da601a8ab61fbe4b40feb46830052e
[XFS] Fix use-after-free during log unmount.

Don't reference the log buffer after running the callbacks as the callback
can trigger the log buffers to be freed during unmount.

SGI-PV: 964545
SGI-Modid: xfs-linux-melb:xfs-kern:28567a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/xfs_log.c