git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: 9p: advance iov on empty read
[sfrench/cifs-2.6.git]
/
net
/
9p
/
client.c
diff --git
a/net/9p/client.c
b/net/9p/client.c
index 4f62f299da0cfdbd99fa9a08b60c4aec891eccdf..0a9019da18f3956106d024ce1920d1ea27117500 100644
(file)
--- a/
net/9p/client.c
+++ b/
net/9p/client.c
@@
-1623,10
+1623,6
@@
p9_client_read_once(struct p9_fid *fid, u64 offset, struct iov_iter *to,
}
p9_debug(P9_DEBUG_9P, "<<< RREAD count %d\n", count);
- if (!count) {
- p9_tag_remove(clnt, req);
- return 0;
- }
if (non_zc) {
int n = copy_to_iter(dataptr, count, to);