summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_quota_priv.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2013-05-21 08:02:04 (GMT)
committerBen Myers <bpm@sgi.com>2013-05-30 22:26:08 (GMT)
commit58a72281555bf301f6dff24db2db205c87ef8db1 (patch)
tree08167ec47b27c14dcf71744557a0edaac73d2bdd /fs/xfs/xfs_quota_priv.h
parent26f714450c3907ce07c41a0bd1bea40368e0b4da (diff)
downloadlinux-fsl-qoriq-58a72281555bf301f6dff24db2db205c87ef8db1.tar.xz
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/xfs/xfs_quota_priv.h')
0 files changed, 0 insertions, 0 deletions