Don't drop giant around ->d_strategy(), too much code explodes.

This commit is contained in:
phk 2003-08-06 06:49:18 +00:00
parent 9dd8477032
commit c7517b9717

View File

@ -504,10 +504,10 @@ spec_xstrategy(struct vnode *vp, struct buf *bp)
("No strategy on dev %s responsible for buffer %p\n",
devtoname(bp->b_dev), bp));
if ((dsw->d_flags & D_NOGIANT) && !(bp->b_flags & B_KEEPGIANT)) {
DROP_GIANT();
if (dsw->d_flags & D_NOGIANT) {
/* XXX: notyet DROP_GIANT(); */
DEV_STRATEGY(bp);
PICKUP_GIANT();
/* XXX: notyet PICKUP_GIANT(); */
} else
DEV_STRATEGY(bp);