]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remote attribute lookups require the value length
authorDave Chinner <dchinner@redhat.com>
Fri, 7 Jun 2013 12:24:53 +0000 (22:24 +1000)
committerBen Myers <bpm@sgi.com>
Tue, 6 Aug 2013 21:26:34 +0000 (16:26 -0500)
commitbdf62025fac50980215f3bdb8cfd73ea0dbf5165
tree77f2543dd9cc258c6c2f8257105310d94d517c7d
parentbdb34d6b990a56136b22d08656d8096036d860e7
xfs: remote attribute lookups require the value length

When reading a remote attribute, to correctly calculate the length
of the data buffer for CRC enable filesystems, we need to know the
length of the attribute data. We get this information when we look
up the attribute, but we don't store it in the args structure along
with the other remote attr information we get from the lookup. Add
this information to the args structure so we can use it
appropriately.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
libxfs/xfs_attr_leaf.c