diff options
author | Dave Chinner <dchinner@redhat.com> | 2014-10-28 22:22:18 +0100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-10-28 22:22:18 +0100 |
commit | a6bbce54efa9145dbcf3029c885549f7ebc40a3b (patch) | |
tree | ad8cac74e9ad13827614de3bd368d3cdaff4b22e /fs/fhandle.c | |
parent | Linux 3.18-rc2 (diff) | |
download | linux-a6bbce54efa9145dbcf3029c885549f7ebc40a3b.tar.xz linux-a6bbce54efa9145dbcf3029c885549f7ebc40a3b.zip |
xfs: bulkstat doesn't release AGI buffer on error
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.
cc: <stable@vger.kernel.org>
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>
Diffstat (limited to 'fs/fhandle.c')
0 files changed, 0 insertions, 0 deletions