]> Gentwo Git Trees - linux/.git/commit
gfs2: Fix use of bio_chain
authorAndreas Gruenbacher <agruenba@redhat.com>
Sun, 30 Nov 2025 21:19:52 +0000 (21:19 +0000)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 2 Dec 2025 16:44:54 +0000 (16:44 +0000)
commit8a157e0a0aa5143b5d94201508c0ca1bb8cfb941
tree6a465885d4b7eff1f1b4ac885632f56d8ac330bd
parent83348905e4137742c93bfd8104ce71c637121d38
gfs2: Fix use of bio_chain

In gfs2_chain_bio(), the call to bio_chain() has its arguments swapped.
The result is leaked bios and incorrect synchronization (only the last
bio will actually be waited for).  This code is only used during mount
and filesystem thaw, so the bug normally won't be noticeable.

Reported-by: Stephen Zhang <starzhangzsd@gmail.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/lops.c