]> 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>
Tue, 4 Jun 2013 22:36:30 +0000 (17:36 -0500)
commit7c9da731de61798c77b67860686ef988af4e5d03
treea9925823147b4a3be6f5bc6086750b1acf7a3af6
parentdef4d2b427208c73d20d10baf878302cbd697258
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>
fs/xfs/xfs_attr_leaf.c