]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: pass an initialized xfs_da_args to xfs_attr_get
authorChristoph Hellwig <hch@lst.de>
Fri, 1 May 2020 21:01:32 +0000 (17:01 -0400)
committerEric Sandeen <sandeen@redhat.com>
Fri, 1 May 2020 21:01:32 +0000 (17:01 -0400)
commit5a137356100bbcca96bcce1e46d12703b305dbba
tree193a30b3365824c53117059c2fbd044d11eaccec
parentb8e89b44cb6898c2b9030779b3d6d4f25c6e531d
xfs: pass an initialized xfs_da_args to xfs_attr_get

Source kernel commit: e5171d7e989479fe6298f8aedbd94e0aec23f5fc

Instead of converting from one style of arguments to another in
xfs_attr_set, pass the structure from higher up in the call chain.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chandan Rajendra <chandanrlinux@gmail.com>
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.c
libxfs/xfs_attr.h