Don't drop giant around ->d_strategy(), too much code explodes.
This commit is contained in:
parent
39521cdb3c
commit
291faa1677
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118520
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user