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:
6cd3bca
)
ceph: remove redundant io_iter_advance()
author
Yan, Zheng
<zyan@redhat.com>
Wed, 17 Sep 2014 06:44:51 +0000
(14:44 +0800)
committer
Ilya Dryomov
<idryomov@redhat.com>
Tue, 14 Oct 2014 17:03:39 +0000
(21:03 +0400)
ceph_sync_read and generic_file_read_iter() have already advanced the
IO iterator.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/file.c
b/fs/ceph/file.c
index e5203174634d105eb7eb95269a0e7aba38834d1a..d190650811c4b19221722c4aecae7f6f9e6f490f 100644
(file)
--- a/
fs/ceph/file.c
+++ b/
fs/ceph/file.c
@@
-835,7
+835,6
@@
again:
", reading more\n", iocb->ki_pos,
inode->i_size);
- iov_iter_advance(to, ret);
read += ret;
len -= ret;
checkeof = 0;