diff options
author | Dave Chinner <dchinner@redhat.com> | 2014-10-29 08:22:18 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-14 10:10:40 -0800 |
commit | bf3017d073bfa205275bfadb912053e8160e06ba (patch) | |
tree | f85bae0a7cee6729993d02611b0f99fcf85d101d /fs/ceph | |
parent | 535a914975e79ef24b3b519c52fad351f56a6f08 (diff) | |
download | lwn-bf3017d073bfa205275bfadb912053e8160e06ba.tar.gz lwn-bf3017d073bfa205275bfadb912053e8160e06ba.zip |
xfs: bulkstat doesn't release AGI buffer on error
commit a6bbce54efa9145dbcf3029c885549f7ebc40a3b upstream.
The recent refactoring of the bulkstat code left a small landmine in
the code. If a inobt read fails, then the tree walk is aborted and
returns without releasing the AGI buffer or freeing the cursor. This
can lead to a subsequent bulkstat call hanging trying to grab the
AGI buffer again.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions