From: Dave Chinner Date: Tue, 21 May 2013 08:02:01 +0000 (+1000) Subject: xfs: remote attribute allocation may be contiguous X-Git-Tag: v3.10-rc4~9^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9531e2de6b7f04bd734b4bbc1e16a6955121615a;p=pandora-kernel.git xfs: remote attribute allocation may be contiguous When CRCs are enabled, there may be multiple allocations made if the headers cause a length overflow. This, however, does not mean that the number of headers required increases, as the second and subsequent extents may be contiguous with the previous extent. Hence when we map the extents to write the attribute data, we may end up with less extents than allocations made. Hence the assertion that we consume the number of headers we calculated in the allocation loop is incorrect and needs to be removed. Signed-off-by: Dave Chinner Reviewed-by: Ben Myers Signed-off-by: Ben Myers (cherry picked from commit 90253cf142469a40f89f989904abf0a1e500e1a6) --- Reading git-diff-tree failed