Hi all, This series fixes a few bugs that I found in the XFS_IOC_GETPARENTS implementation. It also reworks the xfs_attr_list implementations to provide an xattr value pointer when available, and finally it reworks the whole implementation to take advantage of this and use less memory. If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below. This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome. kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=pptrs-ioctl --- fs/xfs/libxfs/xfs_attr.h | 5 + fs/xfs/libxfs/xfs_attr_sf.h | 1 fs/xfs/libxfs/xfs_parent.c | 40 +++++++-- fs/xfs/libxfs/xfs_parent.h | 21 ++++- fs/xfs/scrub/attr.c | 8 ++ fs/xfs/xfs_attr_list.c | 8 ++ fs/xfs/xfs_ioctl.c | 40 ++++++--- fs/xfs/xfs_parent_utils.c | 184 ++++++++++++++++++++++++------------------- fs/xfs/xfs_parent_utils.h | 4 - fs/xfs/xfs_trace.c | 1 fs/xfs/xfs_trace.h | 73 +++++++++++++++++ fs/xfs/xfs_xattr.c | 1 12 files changed, 272 insertions(+), 114 deletions(-)