summaryrefslogtreecommitdiffstats
path: root/fs/xattr_acl.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2012-06-12 14:20:26 +1000
committerBen Myers <bpm@sgi.com>2012-06-21 12:32:43 -0500
commit079da28c64ebeca357adae77aea3ae7160e45d98 (patch)
treeccaa8d7eaf6454522ccab6c6f9ad5bda622e5f80 /fs/xattr_acl.c
parent76e8f1386673b864cfca3c24c4d5814740e76465 (diff)
downloadlinux-stable-079da28c64ebeca357adae77aea3ae7160e45d98.tar.gz
linux-stable-079da28c64ebeca357adae77aea3ae7160e45d98.tar.bz2
linux-stable-079da28c64ebeca357adae77aea3ae7160e45d98.zip
xfs: fix allocbt cursor leak in xfs_alloc_ag_vextent_near
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>
Diffstat (limited to 'fs/xattr_acl.c')
0 files changed, 0 insertions, 0 deletions