aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2014-10-30 10:34:52 +1100
committerDave Chinner <[email protected]>2014-10-30 10:34:52 +1100
commit7a19dee116c8fae7ba7a778043c245194289f5a2 (patch)
tree7cf54ac242a26dc2ff3a2a2fc6cbf81c2343a70c /lib/test-string_helpers.c
parenta6bbce54efa9145dbcf3029c885549f7ebc40a3b (diff)
xfs: Check error during inode btree iteration in xfs_bulkstat()
xfs_bulkstat() doesn't check error return from xfs_btree_increment(). In case of specific fs corruption that could result in xfs_bulkstat() entering an infinite loop because we would be looping over the same chunk over and over again. Fix the problem by checking the return value and terminating the loop properly. Coverity-id: 1231338 cc: <[email protected]> Signed-off-by: Jan Kara <[email protected]> Reviewed-by: Jie Liu <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions