Suitably shrink a comment so it applies again.
Submitted by: bde
This commit is contained in:
parent
0e22cfe38e
commit
b1a95d8312
@ -2597,13 +2597,10 @@ fdmisccmd(dev_t dev, u_int cmd, void *data)
|
||||
bp->bio_done = fdbiodone;
|
||||
bp->bio_flags = 0;
|
||||
|
||||
/*
|
||||
* Now run the command. The wait loop is a version of bufwait()
|
||||
* adapted for struct bio instead of struct buf and specialized
|
||||
* for the current context.
|
||||
*/
|
||||
/* Now run the command. */
|
||||
fdstrategy(bp);
|
||||
error = biowait(bp, "fdcmd");
|
||||
|
||||
free(bp, M_TEMP);
|
||||
return (error);
|
||||
}
|
||||
|
@ -2597,13 +2597,10 @@ fdmisccmd(dev_t dev, u_int cmd, void *data)
|
||||
bp->bio_done = fdbiodone;
|
||||
bp->bio_flags = 0;
|
||||
|
||||
/*
|
||||
* Now run the command. The wait loop is a version of bufwait()
|
||||
* adapted for struct bio instead of struct buf and specialized
|
||||
* for the current context.
|
||||
*/
|
||||
/* Now run the command. */
|
||||
fdstrategy(bp);
|
||||
error = biowait(bp, "fdcmd");
|
||||
|
||||
free(bp, M_TEMP);
|
||||
return (error);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user