]> err.no Git - linux-2.6/blobdiff - fs/xfs/xfs_bmap.c
[XFS] the "aendp" arg to xfs_dir2_data_freescan is always NULL, remove it.
[linux-2.6] / fs / xfs / xfs_bmap.c
index 87795188cedf31dd4d7edaa3a27848b5bf1330df..05d43d1128434634f9139e6c1c3537bfd51e5136 100644 (file)
@@ -4071,7 +4071,7 @@ xfs_bmap_add_attrfork(
        }
        if ((error = xfs_bmap_finish(&tp, &flist, &committed)))
                goto error2;
-       error = xfs_trans_commit(tp, XFS_TRANS_PERM_LOG_RES, NULL);
+       error = xfs_trans_commit(tp, XFS_TRANS_PERM_LOG_RES);
        ASSERT(ip->i_df.if_ext_max ==
               XFS_IFORK_DSIZE(ip) / (uint)sizeof(xfs_bmbt_rec_t));
        return error;
@@ -4227,7 +4227,7 @@ xfs_bmap_finish(
        logres = ntp->t_log_res;
        logcount = ntp->t_log_count;
        ntp = xfs_trans_dup(*tp);
-       error = xfs_trans_commit(*tp, 0, NULL);
+       error = xfs_trans_commit(*tp, 0);
        *tp = ntp;
        *committed = 1;
        /*