summaryrefslogtreecommitdiff
path: root/Documentation/power
diff options
context:
space:
mode:
authorLachlan McIlroy <lachlan@sgi.com>2008-09-17 06:52:13 (GMT)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-09-17 06:52:13 (GMT)
commite1f5dbd7077eebec794452a516cb02f1669b036d (patch)
tree6419e5089f94ef8cb10ab49ac3f66b2d67afd40c /Documentation/power
parentf9114eba1eb08ee75fd0f1eee780f0290fb3c043 (diff)
downloadlinux-fsl-qoriq-e1f5dbd7077eebec794452a516cb02f1669b036d.tar.xz
[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>
Diffstat (limited to 'Documentation/power')
0 files changed, 0 insertions, 0 deletions