vfs: remove vop loop from vop_sigdefer
All ops are guaranteed to be present since r357131.
This commit is contained in:
parent
a0c963e766
commit
b4ee89fba6
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user