summaryrefslogtreecommitdiff
path: root/cmds-restore.c
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@gmail.com>2013-07-29 19:36:36 +0100
committerDavid Sterba <dsterba@suse.cz>2013-09-03 19:40:45 +0200
commit02e778b2783f9a9ae89d0e4c8c25213fc5f750d1 (patch)
tree9da1722d6e49d53c52ced8dc7225e908f0b3bd9c /cmds-restore.c
parent1c1725a07b384e13300b99ecf6816b6f78615691 (diff)
Btrfs-progs: return immediately on tree search failure
If the chunk tree search failed in volumes.c:btrfs_read_chunk_tree() return immediately, rather than looping and use the invalid contents of the path structure, causing weird errors/crash at run time. Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'cmds-restore.c')
0 files changed, 0 insertions, 0 deletions