diff options
author | 2015-02-11 19:56:46 +0100 | |
---|---|---|
committer | 2015-03-12 23:50:23 -0400 | |
commit | 66ee59af630fd8d5f4f56fb28162857e629aa0ab (patch) | |
tree | d1c4293f986fcb20824c90a2ab5f3f4e62543f8a /include/linux/aio.h | |
parent | gadgetfs: really get rid of switching ->f_op (diff) | |
download | linux-66ee59af630fd8d5f4f56fb28162857e629aa0ab.tar.gz linux-66ee59af630fd8d5f4f56fb28162857e629aa0ab.tar.bz2 linux-66ee59af630fd8d5f4f56fb28162857e629aa0ab.zip |
fs: remove ki_nbytes
There is no need to pass the total request length in the kiocb, as
we already get passed in through the iov_iter argument.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/aio.h')
-rw-r--r-- | include/linux/aio.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/aio.h b/include/linux/aio.h index d9c92daa3944..132d1ecba435 100644 --- a/include/linux/aio.h +++ b/include/linux/aio.h @@ -42,7 +42,6 @@ struct kiocb { __u64 ki_user_data; /* user's data for completion */ loff_t ki_pos; - size_t ki_nbytes; /* copy of iocb->aio_nbytes */ struct list_head ki_list; /* the aio core uses this * for cancellation */ |