From: Greg Kroah-Hartman Date: Mon, 19 Jan 2026 11:49:40 +0000 (+0100) Subject: 6.1-stable patches X-Git-Tag: v5.15.198~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5caf9367e77665c1b25e35cee7529cdfdc4ada1d;p=thirdparty%2Fkernel%2Fstable-queue.git 6.1-stable patches added patches: revert-gfs2-fix-use-of-bio_chain.patch --- diff --git a/queue-6.1/revert-gfs2-fix-use-of-bio_chain.patch b/queue-6.1/revert-gfs2-fix-use-of-bio_chain.patch new file mode 100644 index 0000000000..d9d85aa926 --- /dev/null +++ b/queue-6.1/revert-gfs2-fix-use-of-bio_chain.patch @@ -0,0 +1,36 @@ +From 469d71512d135907bf5ea0972dfab8c420f57848 Mon Sep 17 00:00:00 2001 +From: Andreas Gruenbacher +Date: Mon, 12 Jan 2026 11:47:35 +0100 +Subject: Revert "gfs2: Fix use of bio_chain" + +From: Andreas Gruenbacher + +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 +Signed-off-by: Greg Kroah-Hartman +--- + fs/gfs2/lops.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/fs/gfs2/lops.c ++++ b/fs/gfs2/lops.c +@@ -491,7 +491,7 @@ static struct bio *gfs2_chain_bio(struct + new = bio_alloc(prev->bi_bdev, nr_iovecs, prev->bi_opf, GFP_NOIO); + bio_clone_blkg_association(new, prev); + new->bi_iter.bi_sector = bio_end_sector(prev); +- bio_chain(prev, new); ++ bio_chain(new, prev); + submit_bio(prev); + return new; + } diff --git a/queue-6.1/series b/queue-6.1/series index 25be01389a..da626167bd 100644 --- a/queue-6.1/series +++ b/queue-6.1/series @@ -1,2 +1,3 @@ firmware-imx-scu-irq-set-mu_resource_id-before-get-handle.patch efi-cper-fix-cper_bits_to_str-buffer-handling-and-return-value.patch +revert-gfs2-fix-use-of-bio_chain.patch