Re: [PATCH] Fix panic in 2.6 with bounced bio and dm

From: Dave Olien (dmo_at_osdl.org)
Date: 02/28/05

  • Next message: Jens Axboe: "Re: [PATCH] Fix panic in 2.6 with bounced bio and dm"
    Date:	Mon, 28 Feb 2005 09:35:42 -0800
    To: Jens Axboe <axboe@suse.de>
    
    

    Just trivial, I think you're missing the final "0" argument
    in the __bio_for_each_segment().

    On Mon, Feb 28, 2005 at 04:51:28PM +0100, Jens Axboe wrote:
    > This should fix it.
    >
    > Signed-off-by: Jens Axboe <axboe@suse.de>
    >
    >
    > ===== mm/highmem.c 1.55 vs edited =====
    > --- 1.55/mm/highmem.c 2005-01-08 06:44:13 +01:00
    > +++ edited/mm/highmem.c 2005-02-28 16:50:59 +01:00
    > @@ -425,7 +425,7 @@
    > * at least one page was bounced, fill in possible non-highmem
    > * pages
    > */
    > - bio_for_each_segment(from, *bio_orig, i) {
    > + __bio_for_each_segment(from, *bio_orig, i) {
    > to = bio_iovec_idx(bio, i);
    > if (!to->bv_page) {
    > to->bv_page = from->bv_page;
    >
    > --
    > Jens Axboe
    >
    > -
    > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    > the body of a message to majordomo@vger.kernel.org
    > More majordomo info at http://vger.kernel.org/majordomo-info.html
    > Please read the FAQ at http://www.tux.org/lkml/
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Jens Axboe: "Re: [PATCH] Fix panic in 2.6 with bounced bio and dm"

    Relevant Pages

    • [PATCH] Time sliced CFQ #3
      ... We don't arm the slice idle timer if the process has exited or is ... - TCQ fix: don't idle drive until last request comes in. ... Jens Axboe - ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: status of cdrom patches for 2.4 ?
      ... Fix that issue. ... So please can the 'pre-recorded' message crap. ... Jens Axboe ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.10-rc2-bk7 - Badness in cfq_put_request at drivers/block/cfq-iosched.c:1402
      ... On Fri, Nov 26 2004, Jens Axboe wrote: ... here's a patch to fix it. ... > And a small fix is needed on top of that, in case of hash type changes ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] asiliantfb fixes
      ... The below fix is missing. ... A call to the init function ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH] ppc32: MV643XX ethernet is an option for Pegasos
      ... Pegasos and adds what I think is a missing ... fix from Dale's batch, that is remove SA_INTERRUPT and add SA_SHIRQ in ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)