projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0f6968
)
Btrfs: Fix memory leak in writepage fixup work
author
Miao Xie
<miaox@cn.fujitsu.com>
Wed, 26 Jan 2011 08:19:22 +0000
(16:19 +0800)
committer
Li Zefan
<lizf@cn.fujitsu.com>
Wed, 26 Jan 2011 17:10:30 +0000
(
01:10
+0800)
fixup, which is allocated when starting page write to fix up the
extent without ORDERED bit set, should be freed after this work
is done.
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
fs/btrfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/inode.c
b/fs/btrfs/inode.c
index
5f91944
..
3a6edc4
100644
(file)
--- a/
fs/btrfs/inode.c
+++ b/
fs/btrfs/inode.c
@@
-1544,6
+1544,7
@@
out:
out_page:
unlock_page(page);
page_cache_release(page);
+ kfree(fixup);
}
/*