projects
/
platform
/
kernel
/
linux-stable.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
|
history
diff --git
a/fs/ceph/file.c
b/fs/ceph/file.c
index
e520317
..
d190650
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;