[lkml]   [2009]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: [patch 000/108] 2.6.30-stable review
Stefan Richter <> wrote:


>> Felix wrote it was a candidate for stable (obviously!) but it's not on
>> the list you posted. Care to include it?
> I am routinely astonished by the "please include patch XY" postings. :-)

Actually I was under the impression that the proper request had been
made for inclusion into -stable, but it looks like it's not been done
after all.

So, here goes.


Julien BLACHE <>
<> GPG KeyID 0xF5D65169

From: Felix Blyakher <>
Date: Thu, 11 Jun 2009 22:07:28 +0000 (-0500)
Subject: xfs: fix freeing memory in xfs_getbmap()

xfs: fix freeing memory in xfs_getbmap()

Regression from commit 28e211700a81b0a934b6c7a4b8e7dda843634d2f.
Need to free temporary buffer allocated in xfs_getbmap().

Signed-off-by: Felix Blyakher <>
Signed-off-by: Hedi Berriche <>
Reported-by: Justin Piszcz <>
Reviewed-by: Eric Sandeen <>
Reviewed-by: Christoph Hellwig <>

diff --git a/fs/xfs/xfs_bmap.c b/fs/xfs/xfs_bmap.c
index 4b0f6ef..7928b99 100644
--- a/fs/xfs/xfs_bmap.c
+++ b/fs/xfs/xfs_bmap.c
@@ -6086,6 +6086,7 @@ xfs_getbmap(

+ kmem_free(out);
return error;
 \ /
  Last update: 2009-07-01 17:45    [W:0.117 / U:0.604 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site