diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-05-21 18:02:04 +1000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-05-30 17:26:08 -0500 |
commit | 58a72281555bf301f6dff24db2db205c87ef8db1 (patch) | |
tree | 08167ec47b27c14dcf71744557a0edaac73d2bdd /fs/select.c | |
parent | 26f714450c3907ce07c41a0bd1bea40368e0b4da (diff) | |
download | op-kernel-dev-58a72281555bf301f6dff24db2db205c87ef8db1.zip op-kernel-dev-58a72281555bf301f6dff24db2db205c87ef8db1.tar.gz |
xfs: correctly map remote attr buffers during removal
If we don't map the buffers correctly (same as for get/set
operations) then the incore buffer lookup will fail. If a block
number matches but a length is wrong, then debug kernels will ASSERT
fail in _xfs_buf_find() due to the length mismatch. Ensure that we
map the buffers correctly by basing the length of the buffer on the
attribute data length rather than the remote block count.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
(cherry picked from commit 6863ef8449f1908c19f43db572e4474f24a1e9da)
Diffstat (limited to 'fs/select.c')
0 files changed, 0 insertions, 0 deletions