]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: fix remote attribute invalidation for a leaf
authorDave Chinner <dchinner@redhat.com>
Mon, 3 Jun 2013 05:28:49 +0000 (15:28 +1000)
committerBen Myers <bpm@sgi.com>
Thu, 6 Jun 2013 15:50:52 +0000 (10:50 -0500)
commitabf38b9e94e18b163900993073288c64cdf96f6a
tree8cf6879e7e6b424967d942d0977f76b09e397ca9
parent71edccca3b0eb2dc47a14db5d94009e9c14e7706
xfs: fix remote attribute invalidation for a leaf

When invalidating an attribute leaf block block, there might be
remote attributes that it points to. With the recent rework of the
remote attribute format, we have to make sure we calculate the
length of the attribute correctly. We aren't doing that in
xfs_attr3_leaf_inactive(), so fix it.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Mark Tinguely <tinuguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
(cherry picked from commit 59913f14dfe8eb772ff93eb442947451b4416329)
fs/xfs/xfs_attr_leaf.c