diff options
author | Yan, Zheng <zyan@redhat.com> | 2014-09-17 08:44:51 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@redhat.com> | 2014-10-14 19:03:39 +0200 |
commit | 3b70b388e3378d0b7272d649bb91451a6de4e924 (patch) | |
tree | abf3d13cf465a32a50aa6842ce6fbe303b0d5619 /fs/ceph | |
parent | ceph: move ceph_find_inode() outside the s_mutex (diff) | |
download | linux-3b70b388e3378d0b7272d649bb91451a6de4e924.tar.xz linux-3b70b388e3378d0b7272d649bb91451a6de4e924.zip |
ceph: remove redundant io_iter_advance()
ceph_sync_read and generic_file_read_iter() have already advanced the
IO iterator.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph')
-rw-r--r-- | fs/ceph/file.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ceph/file.c b/fs/ceph/file.c index e5203174634d..d190650811c4 100644 --- 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; |