vfs: remove vop loop from vop_sigdefer

All ops are guaranteed to be present since r357131.
This commit is contained in:
mjg 2020-01-26 07:05:06 +00:00
parent a0c963e766
commit b4ee89fba6

View File

@ -1450,20 +1450,7 @@ vop_sigdefer(struct vop_vector *vop, struct vop_generic_args *a)
vop_bypass_t *bp;
int prev_stops, rc;
for (; vop != NULL; vop = vop->vop_default) {
bp = bp_by_off(vop, a);
if (bp != NULL)
break;
/*
* Bypass is not really supported. It is done for
* fallback to unimplemented vops in the default
* vector.
*/
bp = vop->vop_bypass;
if (bp != NULL)
break;
}
bp = bp_by_off(vop, a);
MPASS(bp != NULL);
prev_stops = sigdeferstop(SIGDEFERSTOP_SILENT);