diff options
author | 2013-03-31 10:36:37 +0000 | |
---|---|---|
committer | 2013-05-06 15:54:31 -0400 | |
commit | 5c2d867fdcbc11a6862379ebd60b2c1a66e13671 (patch) | |
tree | a2bc4d269f91e709fb79d9a7ac30375c0a97e334 /fs/btrfs/ordered-data.h | |
parent | Btrfs: kill some BUG_ONs() in the find_parent_nodes() (diff) | |
download | linux-dev-5c2d867fdcbc11a6862379ebd60b2c1a66e13671.tar.xz linux-dev-5c2d867fdcbc11a6862379ebd60b2c1a66e13671.zip |
Btrfs: fix double free in the iterate_extent_inodes()
If btrfs_find_all_roots() fails, 'roots' has been freed or 'roots'
fails to allocate. We don't need to free it outside btrfs_find_all_roots()
again.Fix it.
Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/ordered-data.h')
0 files changed, 0 insertions, 0 deletions