diff options
author | Dave Chinner <dchinner@redhat.com> | 2014-11-07 08:29:57 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-11-07 08:29:57 +1100 |
commit | afa947cb52a8e73fe71915a0b0af6fcf98dfbe1a (patch) | |
tree | bd4e27a0faac80e48da23c1bbc19a9622ffe35ed /fs/autofs4 | |
parent | 77783d06427293b2d711c45cfd4abc6494a1af9c (diff) | |
download | linux-afa947cb52a8e73fe71915a0b0af6fcf98dfbe1a.tar.gz linux-afa947cb52a8e73fe71915a0b0af6fcf98dfbe1a.tar.bz2 linux-afa947cb52a8e73fe71915a0b0af6fcf98dfbe1a.zip |
xfs: bulkstat btree walk doesn't terminate
The bulkstat code has several different ways of detecting the end of
an AG when doing a walk. They are not consistently detected, and the
code that checks for the end of AG conditions is not consistently
coded. Hence the are conditions where the walk code can get stuck in
an endless loop making no progress and not triggering any
termination conditions.
Convert all the "tmp/i" status return codes from btree operations
to a common name (stat) and apply end-of-ag detection to these
operations consistently.
cc: <stable@vger.kernel.org> # 3.17
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/autofs4')
0 files changed, 0 insertions, 0 deletions