projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da90382
)
staging/lustre: kiocb->ki_left is removed
author
Peng Tao
<tao.peng@emc.com>
Tue, 6 Aug 2013 12:31:01 +0000
(20:31 +0800)
committer
Benjamin LaHaise
<bcrl@kvack.org>
Tue, 6 Aug 2013 15:02:11 +0000
(11:02 -0400)
We also missed ki_nbytes...
Cc: Kent Overstreet <koverstreet@google.com>
Cc: Andreas Dilger <andreas.dilger@intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
drivers/staging/lustre/lustre/llite/file.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/lustre/lustre/llite/file.c
b/drivers/staging/lustre/lustre/llite/file.c
index ed1e3f7b4e5870b870b91e73bd509313b2deb8f9..444710b33ad5fe44ac887d7f9150bda7377ea5a0 100644
(file)
--- a/
drivers/staging/lustre/lustre/llite/file.c
+++ b/
drivers/staging/lustre/lustre/llite/file.c
@@
-1027,7
+1027,7
@@
static ssize_t ll_file_read(struct file *file, char *buf, size_t count,
local_iov->iov_len = count;
init_sync_kiocb(kiocb, file);
kiocb->ki_pos = *ppos;
- kiocb->ki_
left
= count;
+ kiocb->ki_
nbytes
= count;
result = ll_file_aio_read(kiocb, local_iov, 1, kiocb->ki_pos);
*ppos = kiocb->ki_pos;
@@
-1088,7
+1088,7
@@
static ssize_t ll_file_write(struct file *file, const char *buf, size_t count,
local_iov->iov_len = count;
init_sync_kiocb(kiocb, file);
kiocb->ki_pos = *ppos;
- kiocb->ki_
left
= count;
+ kiocb->ki_
nbytes
= count;
result = ll_file_aio_write(kiocb, local_iov, 1, kiocb->ki_pos);
*ppos = kiocb->ki_pos;