OSDN Git Service

xfs: cleanup struct xfs_attr_list_context
authorChristoph Hellwig <hch@lst.de>
Thu, 27 Feb 2020 01:30:37 +0000 (17:30 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 3 Mar 2020 04:55:54 +0000 (20:55 -0800)
commita9c8c69b496117912162cdc38dcae953a07b87f7
tree43f2f9604d721550551f5f0acf4d40d149972225
parent377f16ac67237c8cda05daf363bcbea95212b000
xfs: cleanup struct xfs_attr_list_context

Replace the alist char pointer with a void buffer given that different
callers use it in different ways.  Use the chance to remove the typedef
and reduce the indentation of the struct definition so that it doesn't
overflow 80 char lines all over.

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/xfs_attr_list.c
fs/xfs/xfs_trace.h
fs/xfs/xfs_xattr.c