commit | 4b3576e450a1539492e26e2d7b1e2e69578c032e | [log] [tgz] |
---|---|---|
author | Zhaolei <zhaolei@cn.fujitsu.com> | Wed Aug 05 18:00:02 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Sun Aug 09 07:07:13 2015 -0700 |
tree | 65615cbf03efaa0a1304180d2f1ae00008c23a9a | |
parent | 55e3a601c81cdca4497bf855fa4d331f8e830744 [diff] |
btrfs: Error handle for get_ref_objectid_v0() in relocate_block_group() We need error checking code for get_ref_objectid_v0() in relocate_block_group(), to avoid unpredictable result, especially for accessing uninitialized value(when function failed) after this line. Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: Chris Mason <clm@fb.com>