Skip to content

Commit

Permalink
6940 Cannot unlink directories when over quota
Browse files Browse the repository at this point in the history
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
  • Loading branch information
sklinkert authored and rmustacc committed Jun 5, 2016
1 parent 002ec3e commit 9918916
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions usr/src/uts/common/fs/zfs/zfs_vnops.c
Expand Up @@ -2113,6 +2113,7 @@ zfs_rmdir(vnode_t *dvp, char *name, vnode_t *cwd, cred_t *cr,
dmu_tx_hold_zap(tx, zfsvfs->z_unlinkedobj, FALSE, NULL);
zfs_sa_upgrade_txholds(tx, zp);
zfs_sa_upgrade_txholds(tx, dzp);
dmu_tx_mark_netfree(tx);
error = dmu_tx_assign(tx, waited ? TXG_WAITED : TXG_NOWAIT);
if (error) {
rw_exit(&zp->z_parent_lock);
Expand Down

0 comments on commit 9918916

Please sign in to comment.