Am 21.06.2016 um 01:39 hat Eric Blake geschrieben: > Now that NBD relies on the block layer to fragment things, we no > longer need to track an offset argument for which fragment of > a request we are actually servicing. > > While at it, use true and false instead of 0 and 1 for a bool > parameter. > > Signed-off-by: Eric Blake <[email protected]>
> @@ -35,7 +34,7 @@ ssize_t nbd_wr_syncv(QIOChannel *ioc, > > nlocal_iov = iov_copy(local_iov, nlocal_iov, > iov, niov, > - offset, length); > + 0, length); This statement fits in a single line instead of three. Kevin
