mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
Fix locking order in zfs_zget()
Signed-off-by: Richard Yao <ryao@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
parent
6f9548c487
commit
f3ad9cd67a
@ -922,8 +922,8 @@ again:
|
||||
*zpp = zp;
|
||||
err = 0;
|
||||
}
|
||||
sa_buf_rele(db, NULL);
|
||||
mutex_exit(&zp->z_lock);
|
||||
sa_buf_rele(db, NULL);
|
||||
ZFS_OBJ_HOLD_EXIT(zsb, obj_num);
|
||||
return (err);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user