Skip to content

Commit

Permalink
removing iov_iter_advance(from, ret);
Browse files Browse the repository at this point in the history
(Bookmark handling issues with Google Chrome, Chromium)
  • Loading branch information
kernelOfTruth committed Aug 18, 2015
1 parent 6c83780 commit 82db4a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions module/zfs/zpl_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ zpl_iter_read(struct kiocb *kiocb, struct iov_iter *to)
ret = zpl_iter_read_common(kiocb, to->iov, to->nr_segs,
iov_iter_count(to), seg, to->iov_offset);
if (ret > 0)
iov_iter_advance(to, ret);
return (ret);
}
#else
Expand Down Expand Up @@ -392,7 +391,6 @@ zpl_iter_write(struct kiocb *kiocb, struct iov_iter *from)
ret = zpl_iter_write_common(kiocb, from->iov, from->nr_segs,
iov_iter_count(from), seg, from->iov_offset);
if (ret > 0)
iov_iter_advance(from, ret);
return (ret);
}
#else
Expand Down

0 comments on commit 82db4a1

Please sign in to comment.