]> git.baikalelectronics.ru Git - kernel.git/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)
commitc5858e1723f0e16db97ab4b377098d95c17ee123
treef351eb33c6bac70d82d9f3adf0836d4c424bad92
parentde22d9aa767c32fb9b7d36a93f8aa555f828fc32
[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