Thread (3 messages) 3 messages, 2 authors, 2020-02-05

Re: [PATCH] 9pnet: allow making incomplete read requests

From: <hidden>
Date: 2020-02-05 22:06:13
Also in: lkml

On Wed, Feb 05, 2020 at 10:54:46PM +0100, Dominique Martinet wrote:
quoted
[...]
+		if (n != count) {
+			*err = -EFAULT;
+			p9_tag_remove(clnt, req);
+			return n;
 		}
-		p9_tag_remove(clnt, req);
+	} else {
+		iov_iter_advance(to, count);
+		count;
Any reason for this stray 'count;' statement?
If you're ok with this I'll just take patch without that line, don't
bother resubmitting.
No reason, i've just accidentally left it.
Will take a fair amount of time to make it to linux-next though, test
setup needs some love and I want to run tests even if this should be
straightforward...
Thanks!

-- 
()  ascii ribbon campaign - against html mail
/\  http://arc.pasp.de/   - against proprietary attachments
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help