aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trans_priv.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-06-04 13:47:29 +1000
committerDave Chinner <david@fromorbit.com>2015-06-04 13:47:29 +1000
commit2e6db6c4c1f71823472651f162f0b355f5b7951e (patch)
treea23f31d4fec11d07888c78fbf1d66ff2107d8b75 /fs/xfs/xfs_trans_priv.h
parentLinux 4.1-rc2 (diff)
downloadlinux-dev-2e6db6c4c1f71823472651f162f0b355f5b7951e.tar.xz
linux-dev-2e6db6c4c1f71823472651f162f0b355f5b7951e.zip
xfs: switch remaining xfs_trans_dup users to xfs_trans_roll
We have three remaining callers of xfs_trans_dup: - xfs_itruncate_extents which open codes xfs_trans_roll - xfs_bmap_finish doesn't have an xfs_inode argument and thus leaves attaching them to it's callers, but otherwise is identical to xfs_trans_roll - xfs_dir_ialloc looks at the log reservations in the old xfs_trans structure instead of the log reservation parameters, but otherwise is identical to xfs_trans_roll. By allowing a NULL xfs_inode argument to xfs_trans_roll we can switch these three remaining users over to xfs_trans_roll and mark xfs_trans_dup static. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_trans_priv.h')
0 files changed, 0 insertions, 0 deletions