git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b050f9f
)
btrfs: free ulist in qgroup_shared_accounting() error path
author
Eric Sandeen
<sandeen@redhat.com>
Thu, 12 Jun 2014 05:14:59 +0000
(
00:14
-0500)
committer
Chris Mason
<clm@fb.com>
Fri, 13 Jun 2014 16:52:26 +0000
(09:52 -0700)
If tmp = ulist_alloc(GFP_NOFS) fails, we return without
freeing the previously allocated qgroups = ulist_alloc(GFP_NOFS)
and cause a memory leak.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/qgroup.c
patch
|
blob
|
history
diff --cc
fs/btrfs/qgroup.c
Simple merge