https://github.com/torvalds/linux
Revision 76d095388b040229ea1aad7dea45be0cfa20f589 authored by Dave Chinner on 12 June 2012, 04:20:26 UTC, committed by Ben Myers on 21 June 2012, 19:20:20 UTC
When we fail to find an matching extent near the requested extent
specification during a left-right distance search in
xfs_alloc_ag_vextent_near, we fail to free the original cursor that
we used to look up the XFS_BTNUM_CNT tree and hence leak it.

Reported-by: Chris J Arges <chris.j.arges@canonical.com>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
1 parent 9a3a5da
History
Tip revision: 76d095388b040229ea1aad7dea45be0cfa20f589 authored by Dave Chinner on 12 June 2012, 04:20:26 UTC
xfs: fix allocbt cursor leak in xfs_alloc_ag_vextent_near
Tip revision: 76d0953
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.7 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 207.3 KB
Makefile -rw-r--r-- 46.0 KB
README -rw-r--r-- 17.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top