Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4fa55cef authored by Al Viro's avatar Al Viro
Browse files

fix a braino in ITER_PIPE iov_iter_revert()

parent 1741937d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -798,7 +798,7 @@ void iov_iter_revert(struct iov_iter *i, size_t unroll)
		while (1) {
			size_t n = off - pipe->bufs[idx].offset;
			if (unroll < n) {
				off -= (n - unroll);
				off -= unroll;
				break;
			}
			unroll -= n;