From ac944f0053dcd1f283cbf4a4e565e88b0ce585d4 Mon Sep 17 00:00:00 2001 From: Richard Yao Date: Sun, 21 Jan 2024 12:45:19 -0500 Subject: [PATCH] Add mutual assignment to test CodeQL --- module/zfs/arc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/zfs/arc.c b/module/zfs/arc.c index 3bcffb3c7ede..e8404adaf644 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -1739,6 +1739,8 @@ arc_buf_alloc_l2only(size_t size, arc_buf_contents_t type, l2arc_dev_t *dev, hdr->b_l2hdr.b_daddr = daddr; hdr->b_l2hdr.b_arcs_state = arcs_state; + birth = hdr->b_birth; + return (hdr); }