]> 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)
commit5013dea8d7f390b4eb2ac80ee2285303fc27f3e2
treebc1607feb69098bd4b1d4cbd09f2a3f75c056ab6
parentfd2232ec63dde8efa97143723ddfbe4bc43eeb47
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