From: Yan, Zheng Date: Wed, 17 Sep 2014 06:44:51 +0000 (+0800) Subject: ceph: remove redundant io_iter_advance() X-Git-Tag: v3.18-rc1~42^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b70b388e3378d0b7272d649bb91451a6de4e924;p=platform%2Fkernel%2Flinux-stable.git 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 --- diff --git a/fs/ceph/file.c b/fs/ceph/file.c index e520317..d190650 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;