OSDN Git Service

xfs: pass an initialized xfs_da_args to xfs_attr_get
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Feb 2020 01:30:34 +0000 (17:30 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 3 Mar 2020 04:55:53 +0000 (20:55 -0800)
commite5171d7e989479fe6298f8aedbd94e0aec23f5fc
treefb3abcdab59516c8af05261763b4e2ae8bcccea2
parenta25446224353a773c7f4ba9ee5ae137515204efe
xfs: pass an initialized xfs_da_args to xfs_attr_get

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>
fs/xfs/libxfs/xfs_attr.c
fs/xfs/libxfs/xfs_attr.h
fs/xfs/xfs_acl.c
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_xattr.c