Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150648857
D7523.id19402.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
753 B
Referenced Files
None
Subscribers
None
D7523.id19402.diff
View Options
Index: head/sys/kern/vfs_aio.c
===================================================================
--- head/sys/kern/vfs_aio.c
+++ head/sys/kern/vfs_aio.c
@@ -1441,7 +1441,7 @@
*/
int
aio_aqueue(struct thread *td, struct aiocb *ujob, struct aioliojob *lj,
- int type, struct aiocb_ops *ops)
+ int type, struct aiocb_ops *ops)
{
struct proc *p = td->td_proc;
cap_rights_t rights;
@@ -2476,14 +2476,9 @@
kern_aio_fsync(struct thread *td, int op, struct aiocb *ujob,
struct aiocb_ops *ops)
{
- struct proc *p = td->td_proc;
- struct kaioinfo *ki;
if (op != O_SYNC) /* XXX lack of O_DSYNC */
return (EINVAL);
- ki = p->p_aioinfo;
- if (ki == NULL)
- aio_init_aioinfo(p);
return (aio_aqueue(td, ujob, NULL, LIO_SYNC, ops));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 4, 2:21 AM (4 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30792721
Default Alt Text
D7523.id19402.diff (753 B)
Attached To
Mode
D7523: Remove duplicated code.
Attached
Detach File
Event Timeline
Log In to Comment