mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Removed unused label and fix mutex_exit order
Remove unused done label from zfs_setacl fixing PVS-Studio V729. Fix mutex_exit order to mirror the mutex_enter order. MFC after: 1 week Sponsored by: Multiplay
This commit is contained in:
parent
5bae00d6b4
commit
e283644b87
1 changed files with 1 additions and 2 deletions
|
|
@ -1994,8 +1994,8 @@ top:
|
|||
zfs_sa_upgrade_txholds(tx, zp);
|
||||
error = dmu_tx_assign(tx, TXG_NOWAIT);
|
||||
if (error) {
|
||||
mutex_exit(&zp->z_acl_lock);
|
||||
mutex_exit(&zp->z_lock);
|
||||
mutex_exit(&zp->z_acl_lock);
|
||||
|
||||
if (error == ERESTART) {
|
||||
dmu_tx_wait(tx);
|
||||
|
|
@ -2020,7 +2020,6 @@ top:
|
|||
if (fuidp)
|
||||
zfs_fuid_info_free(fuidp);
|
||||
dmu_tx_commit(tx);
|
||||
done:
|
||||
mutex_exit(&zp->z_lock);
|
||||
mutex_exit(&zp->z_acl_lock);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue