Also handle zero return from dscheck().
PR: 15956
This commit is contained in:
parent
daa40efd8c
commit
d685023e68
@ -193,7 +193,7 @@ diskstrategy(struct buf *bp)
|
||||
return;
|
||||
}
|
||||
|
||||
if (dscheck(bp, dp->d_slice) < 0) {
|
||||
if (dscheck(bp, dp->d_slice) <= 0) {
|
||||
biodone(bp);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user