From fb9c57269b8090eef469658e1dda3d485dd2f863 Mon Sep 17 00:00:00 2001 From: y30045862 Date: Wed, 18 Sep 2024 12:07:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dcommand=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E4=BC=A0=E9=80=92=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98=20Signed?= =?UTF-8?q?-off-by:=20yangjingbo10=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fs/hmdfs/comm/socket_adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/hmdfs/comm/socket_adapter.c b/fs/hmdfs/comm/socket_adapter.c index 6ed430268d84..b9f35b9e1626 100644 --- a/fs/hmdfs/comm/socket_adapter.c +++ b/fs/hmdfs/comm/socket_adapter.c @@ -281,7 +281,7 @@ static struct hmdfs_msg_parasite *mp_alloc(struct hmdfs_peer *peer, return ERR_PTR(-ENOMEM); ret = hmdfs_alloc_msg_idr(peer, MSG_IDR_MESSAGE_ASYNC, mp, - mp->head.send_cmd_operations); + req->operations); if (unlikely(ret)) { kfree(mp); return ERR_PTR(ret); -- Gitee