Hi all, Let's clean out some unused flags and fields from struct xfs_da_args. If you're going to start using this code, I strongly recommend pulling from my git trees, which are linked below. This has been running on the djcloud for months with no problems. Enjoy! Comments and questions are, as always, welcome. --D kernel git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=shrink-dirattr-args xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=shrink-dirattr-args --- Commits in this patchset: * xfs: remove XFS_DA_OP_REMOVE * xfs: remove XFS_DA_OP_NOTIME * xfs: remove xfs_da_args.attr_flags * xfs: make attr removal an explicit operation * xfs: rearrange xfs_da_args a bit to use less space --- fs/xfs/libxfs/xfs_attr.c | 31 ++++++++++++++++--------------- fs/xfs/libxfs/xfs_attr.h | 11 +++++++++-- fs/xfs/libxfs/xfs_da_btree.h | 29 +++++++++++++---------------- fs/xfs/scrub/attr.c | 1 - fs/xfs/scrub/attr_repair.c | 3 +-- fs/xfs/xfs_acl.c | 3 ++- fs/xfs/xfs_ioctl.c | 19 ++++++++++--------- fs/xfs/xfs_iops.c | 2 +- fs/xfs/xfs_trace.h | 7 +------ fs/xfs/xfs_xattr.c | 22 ++++++++++++++++++---- fs/xfs/xfs_xattr.h | 3 ++- 11 files changed, 73 insertions(+), 58 deletions(-)