mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
o Eliminate an unused parameter from aio_fphysio().
This commit is contained in:
parent
e50f5c2e8d
commit
825ce531a6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89465
@ -240,7 +240,7 @@ static int aio_newproc(void);
|
||||
static int aio_aqueue(struct thread *td, struct aiocb *job, int type);
|
||||
static void aio_physwakeup(struct buf *bp);
|
||||
static void aio_proc_rundown(struct proc *p);
|
||||
static int aio_fphysio(struct proc *p, struct aiocblist *aiocbe);
|
||||
static int aio_fphysio(struct aiocblist *aiocbe);
|
||||
static int aio_qphysio(struct proc *p, struct aiocblist *iocb);
|
||||
static void aio_daemon(void *uproc);
|
||||
static void aio_swake_cb(struct socket *, struct sockbuf *);
|
||||
@ -448,7 +448,7 @@ aio_free_entry(struct aiocblist *aiocbe)
|
||||
}
|
||||
|
||||
if (aiocbe->jobstate == JOBST_JOBQBUF) {
|
||||
if ((error = aio_fphysio(p, aiocbe)) != 0)
|
||||
if ((error = aio_fphysio(aiocbe)) != 0)
|
||||
return error;
|
||||
if (aiocbe->jobstate != JOBST_JOBBFINISHED)
|
||||
panic("aio_free_entry: invalid physio finish-up state");
|
||||
@ -1211,7 +1211,7 @@ aio_qphysio(struct proc *p, struct aiocblist *aiocbe)
|
||||
* This waits/tests physio completion.
|
||||
*/
|
||||
static int
|
||||
aio_fphysio(struct proc *p, struct aiocblist *iocb)
|
||||
aio_fphysio(struct aiocblist *iocb)
|
||||
{
|
||||
int s;
|
||||
struct buf *bp;
|
||||
|
Loading…
Reference in New Issue
Block a user