Commit eab2ad5a authored by Benjamin LaHaise's avatar Benjamin LaHaise

correct sock_aio_write prototype

parent 9f53b66c
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
static int sock_no_open(struct inode *irrelevant, struct file *dontcare); static int sock_no_open(struct inode *irrelevant, struct file *dontcare);
static ssize_t sock_aio_read(struct kiocb *iocb, char *buf, static ssize_t sock_aio_read(struct kiocb *iocb, char *buf,
size_t size, loff_t pos); size_t size, loff_t pos);
static ssize_t sock_aio_write(struct kiocb *iocb, char *buf, static ssize_t sock_aio_write(struct kiocb *iocb, const char *buf,
size_t size, loff_t pos); size_t size, loff_t pos);
static int sock_mmap(struct file *file, struct vm_area_struct * vma); static int sock_mmap(struct file *file, struct vm_area_struct * vma);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment