]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: consolidate attribute value copying
authorDave Chinner <dchinner@redhat.com>
Fri, 15 Nov 2019 22:16:23 +0000 (17:16 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 15 Nov 2019 22:16:23 +0000 (17:16 -0500)
commitad602670354b45ff71ca460abee1baf914ba411b
treee3f54ca6dd29d3bfd84662383d84271f4dcb3f80
parent6e6ba26940ece6ace56ee32aba2b7e11aa9c6498
xfs: consolidate attribute value copying

Source kernel commit: 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400

The same code is used to copy do the attribute copying in three
different places. Consolidate them into a single function in
preparation from on-demand buffer allocation.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net
libxfs/xfs_attr_leaf.c