[Devel] [PATCH VZ9] fs: fuse: kio: forgotten rpc xid initialization
Alexey Kuznetsov
kuznet at virtuozzo.com
Tue Jul 16 19:45:35 MSK 2024
The line has been lost from the very beginning. It was difficult to find
out because being formally wrong the code was practically correct.
New code started to rely on this and voila.
https://pmc.acronis.work/browse/VSTOR-89270
Signed-off-by: Alexey Kuznetsov <kuznet at acronis.com>
---
fs/fuse/kio/pcs/pcs_cs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/fuse/kio/pcs/pcs_cs.c b/fs/fuse/kio/pcs/pcs_cs.c
index fa641f3..05cfd6a 100644
--- a/fs/fuse/kio/pcs/pcs_cs.c
+++ b/fs/fuse/kio/pcs/pcs_cs.c
@@ -1249,6 +1249,7 @@ static struct pcs_msg *cs_prep_probe(struct pcs_cs *cs)
m = (struct pcs_cs_map_prop *)msg_inline_head(msg);
+ pcs_rpc_get_new_xid(&cc_from_cs(cs)->eng, &m->hdr.h.xid);
m->flags = CS_MAPF_PING;
m->nnodes = 1;
m->nodes[0].state = CS_OBJ_UNKNOWN;
--
1.8.3.1
More information about the Devel
mailing list