summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2018-07-05 15:37:30 +0800
committerDavid Sterba <dsterba@suse.com>2018-08-06 15:06:20 +0200
commit159f177cf93a235762dd9e776752cdfbda0dbb8c (patch)
tree0722f2744a2d9e9bce5857b573e6eb1e36dbcb0a /.travis.yml
parent5f594c3ce3cd5158d16f80db576ae84d69bc0636 (diff)
btrfs-progs: check/original: Avoid infinite loop when failed to repair inode
Exposed by fuzz-tests/003-multi-check-unmounted/ on fuzzed image bko-161811.raw.xz. It's caused by the fact when check_fs_roots() finds tree root is modified, it re-search tree root by goto again: label. However again: label. will also reset root objectid to 0. If we failed to repair one fs root but still modified tree root, we will go into such infinite loop. Fix it by recording which root we should skip for repair mode. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Gu Jinxiang <gujx@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions