MFC r283968:
Syncing a directory vnode might drop the vnode lock in the softdep_sync() similarly to the regular vnode sync. Allow retry for both vnode types.
This commit is contained in:
parent
7b840cb177
commit
a105f5d7fd
@ -200,8 +200,8 @@ retry:
|
||||
* bo_dirty list. Recheck and resync as needed.
|
||||
*/
|
||||
BO_LOCK(bo);
|
||||
if (vp->v_type == VREG && (bo->bo_numoutput > 0 ||
|
||||
bo->bo_dirty.bv_cnt > 0)) {
|
||||
if ((vp->v_type == VREG || vp->v_type == VDIR) &&
|
||||
(bo->bo_numoutput > 0 || bo->bo_dirty.bv_cnt > 0)) {
|
||||
BO_UNLOCK(bo);
|
||||
goto retry;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user