diff options
author | Eryu Guan <guaneryu@gmail.com> | 2015-10-19 19:38:00 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-11-02 09:35:03 +0100 |
commit | 8a9c9adbe5a96ceb34989e77ef407d48f488ccd0 (patch) | |
tree | ad0ece4c25f68c722909a7887a67064835c92334 /qgroup.h | |
parent | 1669d8afa647c63a8a28669b9eadfb64ce98f3d7 (diff) |
btrfs-progs: return -ENOMEM properly in btrfs_read_block_groups()
Breaking from the while loop makes ret overwritten to zero, goto error
label directly and return -ENOMEM.
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'qgroup.h')
0 files changed, 0 insertions, 0 deletions