Hi all, this series cleans up the xfs_trans_alloc* and xfs_trans_reserve* interfaces by keeping different code paths more separate and thus removing redundant arguments and error returns. A git tree is also available here: git://git.infradead.org/users/hch/xfs.git xfs-trans-cleanups Gitweb: https://git.infradead.org/?p=users/hch/xfs.git;a=shortlog;h=refs/heads/xfs-trans-cleanups Diffstat: libxfs/xfs_refcount.c | 4 - scrub/common.c | 7 + scrub/common.h | 2 scrub/dir_repair.c | 8 -- scrub/fscounters.c | 3 scrub/metapath.c | 4 - scrub/nlinks.c | 8 -- scrub/nlinks_repair.c | 4 - scrub/parent_repair.c | 12 --- scrub/quotacheck.c | 4 - scrub/repair.c | 16 ---- scrub/repair.h | 4 - scrub/rmap_repair.c | 9 -- scrub/rtrmap_repair.c | 9 -- scrub/scrub.c | 5 - xfs_attr_item.c | 5 - xfs_discard.c | 12 --- xfs_fsmap.c | 4 - xfs_icache.c | 5 - xfs_inode.c | 5 - xfs_itable.c | 18 ---- xfs_iwalk.c | 11 -- xfs_log.c | 6 - xfs_log_priv.h | 4 - xfs_notify_failure.c | 5 - xfs_qm.c | 10 -- xfs_rtalloc.c | 13 --- xfs_trans.c | 196 +++++++++++++++++++++++--------------------------- xfs_trans.h | 3 xfs_zone_gc.c | 5 - 30 files changed, 147 insertions(+), 254 deletions(-)