]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: embedded the attrlist cursor into struct xfs_attr_list_context
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Feb 2020 01:30:43 +0000 (17:30 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 3 Mar 2020 04:55:55 +0000 (20:55 -0800)
commit4890d7bbcf8e03e7265238d059f06f0f8dbd0cf4
treebc1607feb69098bd4b1d4cbd09f2a3f75c056ab6
parent055ad85838a163be52fc61f604501dd25864dc15
xfs: embedded the attrlist cursor into struct xfs_attr_list_context

The attrlist cursor only exists as part of an attr list context, so
embedd the structure instead of pointing to it.  Also give it a proper
xfs_ prefix and remove the obsolete typedef.

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.h
fs/xfs/libxfs/xfs_attr_leaf.h
fs/xfs/scrub/attr.c
fs/xfs/xfs_attr_list.c
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_ioctl.h
fs/xfs/xfs_trace.h
fs/xfs/xfs_xattr.c