diff options
Diffstat (limited to 'sys/ufs/ufs/ufs_quota.c')
-rw-r--r-- | sys/ufs/ufs/ufs_quota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_quota.c b/sys/ufs/ufs/ufs_quota.c index 75a559e..10f93af 100644 --- a/sys/ufs/ufs/ufs_quota.c +++ b/sys/ufs/ufs/ufs_quota.c @@ -674,7 +674,7 @@ again: nextvp = vp->v_mntvnodes.le_next; if (vp->v_type == VNON) continue; - simple_lock(&vp->v_interlock); + mtx_enter(&vp->v_interlock, MTX_DEF); simple_unlock(&mntvnode_slock); error = vget(vp, LK_EXCLUSIVE | LK_NOWAIT | LK_INTERLOCK, p); if (error) { |