From: Dave Chinner Date: Tue, 21 May 2013 08:02:04 +0000 (+1000) Subject: xfs: correctly map remote attr buffers during removal X-Git-Tag: v3.11-rc1~71^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6863ef8449f1908c19f43db572e4474f24a1e9da;p=pandora-kernel.git 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 Reviewed-by: Ben Myers Signed-off-by: Ben Myers --- Reading git-diff-tree failed