|
@@ -668,7 +668,7 @@ xfs_reflink_cancel_cow_range(
|
|
|
|
|
|
/* Start a rolling transaction to remove the mappings */
|
|
|
error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write,
|
|
|
- 0, 0, 0, &tp);
|
|
|
+ 0, 0, XFS_TRANS_NOFS, &tp);
|
|
|
if (error)
|
|
|
goto out;
|
|
|
|
|
@@ -741,7 +741,7 @@ xfs_reflink_end_cow(
|
|
|
(unsigned int)(end_fsb - offset_fsb),
|
|
|
XFS_DATA_FORK);
|
|
|
error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write,
|
|
|
- resblks, 0, XFS_TRANS_RESERVE, &tp);
|
|
|
+ resblks, 0, XFS_TRANS_RESERVE | XFS_TRANS_NOFS, &tp);
|
|
|
if (error)
|
|
|
goto out;
|
|
|
|