projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/fs/btrfs/inode.c
b/fs/btrfs/inode.c
index 5f9194438f7c208b88427eaa42c24778300979e6..3a6edc4c564224861485cd9260e024fc17af75d1 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);
}
/*