[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 7/8] 9pfs: drop root_qid
From: |
Christian Schoenebeck |
Subject: |
[PULL 7/8] 9pfs: drop root_qid |
Date: |
Mon, 05 Jul 2021 13:13:51 +0200 |
There is no longer a user of root_qid, so drop it.
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id:
<6896dd161d3257db6b0513842a14f87ca191fdf6.1622821729.git.qemu_oss@crudebyte.com>
---
hw/9pfs/9p.c | 1 -
hw/9pfs/9p.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c
index 47b000d3a9..7be07f2d68 100644
--- a/hw/9pfs/9p.c
+++ b/hw/9pfs/9p.c
@@ -1444,7 +1444,6 @@ static void coroutine_fn v9fs_attach(void *opaque)
}
err += offset;
- memcpy(&s->root_qid, &qid, sizeof(qid));
memcpy(&s->root_st, &stbuf, sizeof(stbuf));
trace_v9fs_attach_return(pdu->tag, pdu->id,
qid.type, qid.version, qid.path);
diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h
index 6f0b4c78c0..1567b67841 100644
--- a/hw/9pfs/9p.h
+++ b/hw/9pfs/9p.h
@@ -355,7 +355,6 @@ struct V9fsState {
int32_t root_fid;
Error *migration_blocker;
V9fsConf fsconf;
- V9fsQID root_qid;
struct stat root_st;
dev_t dev_id;
struct qht qpd_table;
--
2.20.1
- [PULL 0/8] 9p queue 2021-07-05, Christian Schoenebeck, 2021/07/05
- [PULL 5/8] 9pfs: drop fid_to_qid(), Christian Schoenebeck, 2021/07/05
- [PULL 3/8] 9pfs: fix not_same_qid(), Christian Schoenebeck, 2021/07/05
- [PULL 8/8] 9pfs: reduce latency of Twalk, Christian Schoenebeck, 2021/07/05
- [PULL 6/8] 9pfs: replace not_same_qid() by same_stat_id(), Christian Schoenebeck, 2021/07/05
- [PULL 2/8] 9pfs: simplify v9fs_walk(), Christian Schoenebeck, 2021/07/05
- [PULL 7/8] 9pfs: drop root_qid,
Christian Schoenebeck <=
- [PULL 4/8] 9pfs: capture root stat, Christian Schoenebeck, 2021/07/05
- [PULL 1/8] 9pfs: add link to 9p developer docs, Christian Schoenebeck, 2021/07/05
- Re: [PULL 0/8] 9p queue 2021-07-05, Peter Maydell, 2021/07/05
- Re: [PULL 0/8] 9p queue 2021-07-05, Peter Maydell, 2021/07/05