|
@@ -261,6 +261,7 @@ xfs_iomap_write_direct(
|
|
/*
|
|
/*
|
|
* Complete the transaction
|
|
* Complete the transaction
|
|
*/
|
|
*/
|
|
|
|
+ xfs_defer_ijoin(tp->t_dfops, ip);
|
|
error = xfs_trans_commit(tp);
|
|
error = xfs_trans_commit(tp);
|
|
if (error)
|
|
if (error)
|
|
goto out_unlock;
|
|
goto out_unlock;
|
|
@@ -763,6 +764,7 @@ xfs_iomap_write_allocate(
|
|
if (error)
|
|
if (error)
|
|
goto trans_cancel;
|
|
goto trans_cancel;
|
|
|
|
|
|
|
|
+ xfs_defer_ijoin(tp->t_dfops, ip);
|
|
error = xfs_trans_commit(tp);
|
|
error = xfs_trans_commit(tp);
|
|
if (error)
|
|
if (error)
|
|
goto error0;
|
|
goto error0;
|
|
@@ -882,6 +884,7 @@ xfs_iomap_write_unwritten(
|
|
xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
|
|
xfs_trans_log_inode(tp, ip, XFS_ILOG_CORE);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ xfs_defer_ijoin(tp->t_dfops, ip);
|
|
error = xfs_trans_commit(tp);
|
|
error = xfs_trans_commit(tp);
|
|
xfs_iunlock(ip, XFS_ILOCK_EXCL);
|
|
xfs_iunlock(ip, XFS_ILOCK_EXCL);
|
|
if (error)
|
|
if (error)
|