Skip to contentSkip to conversation

ceph: remove redundant io_iter_advance()

PATCH New Yan, Zheng 1 participant 1 message Sep 17, 2014 Ceph client

lore
Share & tools
lore

Yan, Zheng

author
#0 lore raw

PATCH 1/1 ceph: remove redundant io_iter_advance()

ceph_sync_read and generic_file_read_iter() have already advanced the IO iterator.

---
 fs/ceph/file.c | 1 -
 1 file changed, 1 deletion(-)
fs/ceph/file.c +0 -1
index 1c1df08..d7e0da8 100644
@@ -850,7 +850,6 @@ again:
 			     ", reading more\n", iocb->ki_pos,
 			     inode->i_size);
 
-			iov_iter_advance(to, ret);
 			read += ret;
 			len -= ret;
 			checkeof = 0;
Signature · 1 line
1.9.3