diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2019-11-21 11:22:08 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2019-11-21 11:22:08 +0000 |
commit | 849aef496d2ae19961310f4e92f3a0b928732d26 (patch) | |
tree | c9872d59d6c400ed994da160ee8d67aada890e55 /sys/kern/vfs_aio.c | |
parent | 489912da7bb487a33a7f0642a983c233b22381ba (diff) |
Notes
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r-- | sys/kern/vfs_aio.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index 995cfef8344f..3c84d96274db 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -292,7 +292,7 @@ struct kaioinfo { * Different ABIs provide their own operations. */ struct aiocb_ops { - int (*copyin)(struct aiocb *ujob, struct aiocb *kjob); + int (*aio_copyin)(struct aiocb *ujob, struct aiocb *kjob); long (*fetch_status)(struct aiocb *ujob); long (*fetch_error)(struct aiocb *ujob); int (*store_status)(struct aiocb *ujob, long status); @@ -1420,7 +1420,7 @@ aiocb_store_aiocb(struct aiocb **ujobp, struct aiocb *ujob) } static struct aiocb_ops aiocb_ops = { - .copyin = aiocb_copyin, + .aio_copyin = aiocb_copyin, .fetch_status = aiocb_fetch_status, .fetch_error = aiocb_fetch_error, .store_status = aiocb_store_status, @@ -1431,7 +1431,7 @@ static struct aiocb_ops aiocb_ops = { #ifdef COMPAT_FREEBSD6 static struct aiocb_ops aiocb_ops_osigevent = { - .copyin = aiocb_copyin_old_sigevent, + .aio_copyin = aiocb_copyin_old_sigevent, .fetch_status = aiocb_fetch_status, .fetch_error = aiocb_fetch_error, .store_status = aiocb_store_status, @@ -1478,7 +1478,7 @@ aio_aqueue(struct thread *td, struct aiocb *ujob, struct aioliojob *lj, job = uma_zalloc(aiocb_zone, M_WAITOK | M_ZERO); knlist_init_mtx(&job->klist, AIO_MTX(ki)); - error = ops->copyin(ujob, &job->uaiocb); + error = ops->aio_copyin(ujob, &job->uaiocb); if (error) { ops->store_error(ujob, error); uma_zfree(aiocb_zone, job); @@ -2743,7 +2743,7 @@ aiocb32_store_aiocb(struct aiocb **ujobp, struct aiocb *ujob) } static struct aiocb_ops aiocb32_ops = { - .copyin = aiocb32_copyin, + .aio_copyin = aiocb32_copyin, .fetch_status = aiocb32_fetch_status, .fetch_error = aiocb32_fetch_error, .store_status = aiocb32_store_status, @@ -2754,7 +2754,7 @@ static struct aiocb_ops aiocb32_ops = { #ifdef COMPAT_FREEBSD6 static struct aiocb_ops aiocb32_ops_osigevent = { - .copyin = aiocb32_copyin_old_sigevent, + .aio_copyin = aiocb32_copyin_old_sigevent, .fetch_status = aiocb32_fetch_status, .fetch_error = aiocb32_fetch_error, .store_status = aiocb32_store_status, |