projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35fd035
)
xfs: fix freeing memory in xfs_getbmap()
author
Felix Blyakher
<felixb@sgi.com>
Thu, 11 Jun 2009 22:07:28 +0000
(17:07 -0500)
committer
Felix Blyakher
<felixb@sgi.com>
Fri, 12 Jun 2009 15:26:52 +0000
(10:26 -0500)
Regression from commit
28e211700a81b0a934b6c7a4b8e7dda843634d2f
.
Need to free temporary buffer allocated in xfs_getbmap().
Signed-off-by: Felix Blyakher <felixb@sgi.com>
Signed-off-by: Hedi Berriche <hedi@sgi.com>
Reported-by: Justin Piszcz <jpiszcz@lucidpixels.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_bmap.c
patch
|
blob
|
history
diff --git
a/fs/xfs/xfs_bmap.c
b/fs/xfs/xfs_bmap.c
index
4b0f6ef
..
7928b99
100644
(file)
--- a/
fs/xfs/xfs_bmap.c
+++ b/
fs/xfs/xfs_bmap.c
@@
-6086,6
+6086,7
@@
xfs_getbmap(
break;
}
+ kmem_free(out);
return error;
}