Skip to content

Commit

Permalink
applying fix for spinlock found in openzfs#3349 written by tuxoko
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxoko authored and kernelOfTruth committed Apr 30, 2015
1 parent 98b2541 commit 71a8e9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/zfs/zfs_znode.c
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,7 @@ zfs_zget(zfs_sb_t *zsb, uint64_t obj_num, znode_t **zpp)
mutex_exit(&zp->z_lock);
sa_buf_rele(db, NULL);
ZFS_OBJ_HOLD_EXIT(zsb, obj_num);
cond_resched();
goto again;
}
*zpp = zp;
Expand Down

0 comments on commit 71a8e9b

Please sign in to comment.