diff --git a/module/zfs/zfs_znode.c b/module/zfs/zfs_znode.c index 531d29a40..2ab896fec 100644 --- a/module/zfs/zfs_znode.c +++ b/module/zfs/zfs_znode.c @@ -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); }