[kernel] r13805 - in dists/trunk/linux-2.6/debian: . patches/bugfix/all patches/series

Maximilian Attems maks at alioth.debian.org
Sat Jun 13 21:46:10 UTC 2009


Author: maks
Date: Sat Jun 13 21:46:08 2009
New Revision: 13805

Log:
xfs: fix freeing memory in xfs_getbmap()

add patch for xfs regression, landed no in linus
and just applies to 2.6.30.

Added:
   dists/trunk/linux-2.6/debian/patches/bugfix/all/0001-xfs-fix-freeing-memory-in-xfs_getbmap.patch
Modified:
   dists/trunk/linux-2.6/debian/changelog
   dists/trunk/linux-2.6/debian/patches/series/base

Modified: dists/trunk/linux-2.6/debian/changelog
==============================================================================
--- dists/trunk/linux-2.6/debian/changelog	Sat Jun 13 21:37:03 2009	(r13804)
+++ dists/trunk/linux-2.6/debian/changelog	Sat Jun 13 21:46:08 2009	(r13805)
@@ -30,6 +30,7 @@
     X86_CPU_DEBUG.
   * [x86_64] set new CRYPTO_AES_NI_INTEL, X86_X2APIC.
   * Newer Standards-Version 3.8.1 without changes.
+  * [xfs] fix freeing memory in xfs_getbmap().
 
   [ Ben Hutchings ]
   * Remove firmware from driver/staging (closes: #521553)

Added: dists/trunk/linux-2.6/debian/patches/bugfix/all/0001-xfs-fix-freeing-memory-in-xfs_getbmap.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/trunk/linux-2.6/debian/patches/bugfix/all/0001-xfs-fix-freeing-memory-in-xfs_getbmap.patch	Sat Jun 13 21:46:08 2009	(r13805)
@@ -0,0 +1,32 @@
+From 7747a0b0af5976ba3828796b4f7a7adc3bb76dbd Mon Sep 17 00:00:00 2001
+From: Felix Blyakher <felixb at sgi.com>
+Date: Thu, 11 Jun 2009 17:07:28 -0500
+Subject: [PATCH] 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 <felixb at sgi.com>
+Signed-off-by: Hedi Berriche <hedi at sgi.com>
+Reported-by: Justin Piszcz <jpiszcz at lucidpixels.com>
+Reviewed-by: Eric Sandeen <sandeen at sandeen.net>
+Reviewed-by: Christoph Hellwig <hch at lst.de>
+---
+ fs/xfs/xfs_bmap.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+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(
+ 			break;
+ 	}
+ 
++	kmem_free(out);
+ 	return error;
+ }
+ 
+-- 
+1.6.3.1
+

Modified: dists/trunk/linux-2.6/debian/patches/series/base
==============================================================================
--- dists/trunk/linux-2.6/debian/patches/series/base	Sat Jun 13 21:37:03 2009	(r13804)
+++ dists/trunk/linux-2.6/debian/patches/series/base	Sat Jun 13 21:46:08 2009	(r13805)
@@ -37,3 +37,4 @@
 + features/all/bnx2x-driver-version-1.48.105-1.patch
 - debian/dfsg/drivers-net-bnx2x-disable.patch
 + bugfix/mips/fix-ndelay-build-error.patch
++ bugfix/all/0001-xfs-fix-freeing-memory-in-xfs_getbmap.patch



More information about the Kernel-svn-changes mailing list