No one cares about the low-level helper anymore.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
  * chunk we've been working on and get a new transaction to continue.
  */
 int
-__xfs_trans_roll(
+xfs_trans_roll(
        struct xfs_trans        **tpp,
-       struct xfs_inode        *dp,
-       int                     *committed)
+       struct xfs_inode        *dp)
 {
        struct xfs_trans        *trans;
        struct xfs_trans_res    tres;
        int                     error;
 
-       *committed = 0;
-
        /*
         * Ensure that the inode is always logged.
         */
        if (error)
                return error;
 
-       *committed = 1;
        trans = *tpp;
 
        /*
                xfs_trans_ijoin(trans, dp, 0);
        return 0;
 }
-
-int
-xfs_trans_roll(
-       struct xfs_trans        **tpp,
-       struct xfs_inode        *dp)
-{
-       int                     committed;
-       return __xfs_trans_roll(tpp, dp, &committed);
-}
 
                                      struct xfs_efd_log_item *, xfs_fsblock_t,
                                      xfs_extlen_t, struct xfs_owner_info *);
 int            xfs_trans_commit(struct xfs_trans *);
-int            __xfs_trans_roll(struct xfs_trans **, struct xfs_inode *, int *);
 int            xfs_trans_roll(struct xfs_trans **, struct xfs_inode *);
 void           xfs_trans_cancel(xfs_trans_t *);
 int            xfs_trans_ail_init(struct xfs_mount *);