Files
linux-apfs/fs/xfs
Lachlan McIlroy e1f5dbd707 [XFS] Fix use-after-free with buffers
We have a use-after-free issue where log completions access buffers via
the buffer log item and the buffer has already been freed. Fix this by
taking a reference on the buffer when attaching the buffer log item and
release the hold when the buffer log item is detached and we no longer
need the buffer. Also create a new function xfs_buf_item_free() to combine
some common code.

SGI-PV: 985757

SGI-Modid: xfs-linux-melb:xfs-kern:32025a

Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
2008-09-17 16:52:13 +10:00
..
2008-07-28 16:59:25 +10:00
2008-04-29 16:07:48 +10:00
2008-07-28 16:58:49 +10:00
2008-08-13 16:22:40 +10:00
2008-08-13 16:22:40 +10:00
2008-02-07 16:46:39 +11:00
2008-08-13 16:07:53 +10:00
2008-07-28 16:58:35 +10:00
2008-02-07 18:14:38 +11:00
2008-07-28 16:59:25 +10:00
2008-08-13 16:17:37 +10:00
2008-08-13 16:17:37 +10:00
2008-07-28 16:59:09 +10:00
2008-08-13 16:49:32 +10:00
2008-08-13 16:49:32 +10:00
2008-02-07 16:47:15 +11:00
2008-08-13 16:22:40 +10:00