Skip to content

Commit

Permalink
delete-reparse-point needs to set may-grow
Browse files Browse the repository at this point in the history
Due to call to sa-remove.

Signed-off-by: Jorgen Lundman <[email protected]>
  • Loading branch information
lundman committed Sep 26, 2023
1 parent 8c4dc7f commit 43277de
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions module/os/windows/zfs/zfs_vnops_windows.c
Original file line number Diff line number Diff line change
Expand Up @@ -3163,13 +3163,10 @@ delete_reparse_point(PDEVICE_OBJECT DeviceObject, PIRP Irp,
fuid_dirtied = zfsvfs->z_fuid_dirty;

dmu_tx_hold_zap(tx, dzp->z_id, FALSE, NULL); // name
dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE);
dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE);
zfs_sa_upgrade_txholds(tx, zp);
zfs_sa_upgrade_txholds(tx, dzp);

dmu_tx_hold_free(tx, zp->z_id, 0, DMU_OBJECT_END);
dmu_tx_mark_netfree(tx);

error = dmu_tx_assign(tx, TXG_WAIT);
if (error) {
dmu_tx_abort(tx);
Expand Down

0 comments on commit 43277de

Please sign in to comment.