Skip to contentSkip to conversation

v9fs-conv-rwalk-buf-fix.patch

PATCH New Latchesar Ionkov 1 participant 1 message Sep 21, 2005 9P file system

lore
Share & tools
lore

Latchesar Ionkov

author maintainer
#0 lore raw

PATCH 1/1 v9fs-conv-rwalk-buf-fix.patch

allocate qid array in the correct conv buf

---
commit 4f0a459f11309161616e22f4acf918eb04a9bd1a
tree a1ed10971a1d7a086feb0a3c39bbfe0b74ae8059
parent 4e674e810f621d61c8cdf35ed3306e0a6c62acb6
author Latchesar Ionkov <[email protected]> Tue, 20 Sep 2005 19:26:23 -0400 committer Latchesar Ionkov <[email protected]> Tue, 20 Sep 2005 19:26:23 -0400

 fs/9p/conv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/9p/conv.c +1 -1
@@ -651,7 +651,7 @@ v9fs_deserialize_fcall(struct v9fs_sessi
 		break;
 	case RWALK:
 		rcall->params.rwalk.nwqid = buf_get_int16(bufp);
-		rcall->params.rwalk.wqids = buf_alloc(bufp,
+		rcall->params.rwalk.wqids = buf_alloc(dbufp,
 		      rcall->params.rwalk.nwqid * sizeof(struct v9fs_qid));
 		if (rcall->params.rwalk.wqids)
 			for (i = 0; i < rcall->params.rwalk.nwqid; i++) {