]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "gfs2: Fix use of bio_chain"
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 12 Jan 2026 10:47:35 +0000 (11:47 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Jan 2026 10:18:35 +0000 (11:18 +0100)
commitd6bb04690b5be42c18ebd2d7e6f7b3190a72bd22
tree1225fdc7fcd31a7eb7809d8b96c5e5b1fdbe77a9
parent81dcb27e9b596089ede5f0b752ceaadae92d72d5
Revert "gfs2: Fix use of bio_chain"

commit 469d71512d135907bf5ea0972dfab8c420f57848 upstream.

This reverts commit 8a157e0a0aa5143b5d94201508c0ca1bb8cfb941.

That commit incorrectly assumed that the bio_chain() arguments were
swapped in gfs2.  However, gfs2 intentionally constructs bio chains so
that the first bio's bi_end_io callback is invoked when all bios in the
chain have completed, unlike bio chains where the last bio's callback is
invoked.

Fixes: 8a157e0a0aa5 ("gfs2: Fix use of bio_chain")
Cc: stable@vger.kernel.org
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/gfs2/lops.c