|
@@ -219,7 +219,7 @@ xfs_free_eofblocks(
|
|
|
}
|
|
|
|
|
|
xfs_ilock(ip, XFS_ILOCK_EXCL);
|
|
|
- xfs_trans_ijoin(tp, ip);
|
|
|
+ xfs_trans_ijoin(tp, ip, 0);
|
|
|
|
|
|
error = xfs_itruncate_data(&tp, ip, ip->i_size);
|
|
|
if (error) {
|
|
@@ -288,7 +288,7 @@ xfs_inactive_symlink_rmt(
|
|
|
xfs_ilock(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL);
|
|
|
size = (int)ip->i_d.di_size;
|
|
|
ip->i_d.di_size = 0;
|
|
|
- xfs_trans_ijoin(tp, ip);
|
|
|
+ xfs_trans_ijoin(tp, ip, 0);
|
|
|
xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
|
|
|
/*
|
|
|
* Find the block(s) so we can inval and unmap them.
|
|
@@ -336,7 +336,7 @@ xfs_inactive_symlink_rmt(
|
|
|
* Mark it dirty so it will be logged and moved forward in the log as
|
|
|
* part of every commit.
|
|
|
*/
|
|
|
- xfs_trans_ijoin(tp, ip);
|
|
|
+ xfs_trans_ijoin(tp, ip, 0);
|
|
|
xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
|
|
|
/*
|
|
|
* Get a new, empty transaction to return to our caller.
|
|
@@ -469,7 +469,7 @@ xfs_inactive_attrs(
|
|
|
goto error_cancel;
|
|
|
|
|
|
xfs_ilock(ip, XFS_ILOCK_EXCL);
|
|
|
- xfs_trans_ijoin(tp, ip);
|
|
|
+ xfs_trans_ijoin(tp, ip, 0);
|
|
|
xfs_idestroy_fork(ip, XFS_ATTR_FORK);
|
|
|
|
|
|
ASSERT(ip->i_d.di_anextents == 0);
|
|
@@ -663,7 +663,7 @@ xfs_inactive(
|
|
|
}
|
|
|
|
|
|
xfs_ilock(ip, XFS_ILOCK_EXCL);
|
|
|
- xfs_trans_ijoin(tp, ip);
|
|
|
+ xfs_trans_ijoin(tp, ip, 0);
|
|
|
|
|
|
error = xfs_itruncate_data(&tp, ip, 0);
|
|
|
if (error) {
|
|
@@ -687,7 +687,7 @@ xfs_inactive(
|
|
|
return VN_INACTIVE_CACHE;
|
|
|
}
|
|
|
|
|
|
- xfs_trans_ijoin(tp, ip);
|
|
|
+ xfs_trans_ijoin(tp, ip, 0);
|
|
|
} else {
|
|
|
error = xfs_trans_reserve(tp, 0,
|
|
|
XFS_IFREE_LOG_RES(mp),
|
|
@@ -700,7 +700,7 @@ xfs_inactive(
|
|
|
}
|
|
|
|
|
|
xfs_ilock(ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL);
|
|
|
- xfs_trans_ijoin(tp, ip);
|
|
|
+ xfs_trans_ijoin(tp, ip, 0);
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -940,7 +940,7 @@ xfs_create(
|
|
|
* the transaction cancel unlocking dp so don't do it explicitly in the
|
|
|
* error path.
|
|
|
*/
|
|
|
- xfs_trans_ijoin_ref(tp, dp, XFS_ILOCK_EXCL);
|
|
|
+ xfs_trans_ijoin(tp, dp, XFS_ILOCK_EXCL);
|
|
|
unlock_dp_on_error = B_FALSE;
|
|
|
|
|
|
error = xfs_dir_createname(tp, dp, name, ip->i_ino,
|
|
@@ -1261,8 +1261,8 @@ xfs_remove(
|
|
|
|
|
|
xfs_lock_two_inodes(dp, ip, XFS_ILOCK_EXCL);
|
|
|
|
|
|
- xfs_trans_ijoin_ref(tp, dp, XFS_ILOCK_EXCL);
|
|
|
- xfs_trans_ijoin_ref(tp, ip, XFS_ILOCK_EXCL);
|
|
|
+ xfs_trans_ijoin(tp, dp, XFS_ILOCK_EXCL);
|
|
|
+ xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
|
|
|
|
|
|
/*
|
|
|
* If we're removing a directory perform some additional validation.
|
|
@@ -1407,8 +1407,8 @@ xfs_link(
|
|
|
|
|
|
xfs_lock_two_inodes(sip, tdp, XFS_ILOCK_EXCL);
|
|
|
|
|
|
- xfs_trans_ijoin_ref(tp, sip, XFS_ILOCK_EXCL);
|
|
|
- xfs_trans_ijoin_ref(tp, tdp, XFS_ILOCK_EXCL);
|
|
|
+ xfs_trans_ijoin(tp, sip, XFS_ILOCK_EXCL);
|
|
|
+ xfs_trans_ijoin(tp, tdp, XFS_ILOCK_EXCL);
|
|
|
|
|
|
/*
|
|
|
* If the source has too many links, we can't make any more to it.
|
|
@@ -1602,7 +1602,7 @@ xfs_symlink(
|
|
|
* transaction cancel unlocking dp so don't do it explicitly in the
|
|
|
* error path.
|
|
|
*/
|
|
|
- xfs_trans_ijoin_ref(tp, dp, XFS_ILOCK_EXCL);
|
|
|
+ xfs_trans_ijoin(tp, dp, XFS_ILOCK_EXCL);
|
|
|
unlock_dp_on_error = B_FALSE;
|
|
|
|
|
|
/*
|
|
@@ -1735,7 +1735,7 @@ xfs_set_dmattrs(
|
|
|
return error;
|
|
|
}
|
|
|
xfs_ilock(ip, XFS_ILOCK_EXCL);
|
|
|
- xfs_trans_ijoin_ref(tp, ip, XFS_ILOCK_EXCL);
|
|
|
+ xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
|
|
|
|
|
|
ip->i_d.di_dmevmask = evmask;
|
|
|
ip->i_d.di_dmstate = state;
|
|
@@ -1878,7 +1878,7 @@ xfs_alloc_file_space(
|
|
|
if (error)
|
|
|
goto error1;
|
|
|
|
|
|
- xfs_trans_ijoin(tp, ip);
|
|
|
+ xfs_trans_ijoin(tp, ip, 0);
|
|
|
|
|
|
xfs_bmap_init(&free_list, &firstfsb);
|
|
|
error = xfs_bmapi_write(tp, ip, startoffset_fsb,
|
|
@@ -2176,7 +2176,7 @@ xfs_free_file_space(
|
|
|
if (error)
|
|
|
goto error1;
|
|
|
|
|
|
- xfs_trans_ijoin(tp, ip);
|
|
|
+ xfs_trans_ijoin(tp, ip, 0);
|
|
|
|
|
|
/*
|
|
|
* issue the bunmapi() call to free the blocks
|
|
@@ -2349,7 +2349,7 @@ xfs_change_file_space(
|
|
|
}
|
|
|
|
|
|
xfs_ilock(ip, XFS_ILOCK_EXCL);
|
|
|
- xfs_trans_ijoin_ref(tp, ip, XFS_ILOCK_EXCL);
|
|
|
+ xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL);
|
|
|
|
|
|
if ((attr_flags & XFS_ATTR_DMI) == 0) {
|
|
|
ip->i_d.di_mode &= ~S_ISUID;
|