diff options
author | Jeff Mahoney <[email protected]> | 2017-05-17 09:49:37 -0400 |
---|---|---|
committer | David Sterba <[email protected]> | 2017-06-01 16:56:31 +0200 |
commit | 896533a7da929136d0432713f02a3edffece2826 (patch) | |
tree | 0026603a4f0d5d5064a6602a6224dc2f3c28be9b /lib/debugobjects.c | |
parent | cc2b702c52094b637a351d7491ac5200331d0445 (diff) |
btrfs: fix memory leak in update_space_info failure path
If we fail to add the space_info kobject, we'll leak the memory
for the percpu counter.
Fixes: 6ab0a2029c (btrfs: publish allocation data in sysfs)
Cc: <[email protected]> # v3.14+
Signed-off-by: Jeff Mahoney <[email protected]>
Reviewed-by: Liu Bo <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions