From: Jens Axboe <axboe@suse.de>
To: Prarit Bhargava <prarit@sgi.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: [PATCH]: resubmitted: Fix erroneous rq->buffer = NULL in ide-io.c:ide_dma_timeout_retry
Date: Thu, 6 Jan 2005 16:55:56 +0100 [thread overview]
Message-ID: <20050106155552.GQ17821@suse.de> (raw)
In-Reply-To: <41DD5794.6080804@sgi.com>
On Thu, Jan 06 2005, Prarit Bhargava wrote:
> Colleagues,
>
> Please see discussion related to this patch here,
>
> http://marc.theaimsgroup.com/?l=linux-ide&m=110485007824374&w=2
Acked-by: Jens Axboe <axboe@suse.de>
> Thanks,
>
> Prarit.
>
>
> --- linux-2.5.orig/drivers/ide/ide-io.c 2005-01-04 15:45:17.000000000 -0500
> +++ linux-2.5/drivers/ide/ide-io.c 2005-01-04 15:45:27.000000000 -0500
> @@ -1205,21 +1205,21 @@
> HWGROUP(drive)->rq = NULL;
>
> rq->errors = 0;
>
> if (!rq->bio)
> goto out;
>
> rq->sector = rq->bio->bi_sector;
> rq->current_nr_sectors = bio_iovec(rq->bio)->bv_len >> 9;
> rq->hard_cur_sectors = rq->current_nr_sectors;
> - rq->buffer = NULL;
> + rq->buffer = bio_data(rq->bio);
> out:
> return ret;
> }
>
> /**
> * ide_timer_expiry - handle lack of an IDE interrupt
> * @data: timer callback magic (hwgroup)
> *
> * An IDE command has timed out before the expected drive return
> * occurred. At this point we attempt to clean up the current
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Jens Axboe
next prev parent reply other threads:[~2005-01-06 15:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-06 15:21 [PATCH]: resubmitted: Fix erroneous rq->buffer = NULL in ide-io.c:ide_dma_timeout_retry Prarit Bhargava
2005-01-06 15:55 ` Jens Axboe [this message]
2005-01-07 2:18 ` Bartlomiej Zolnierkiewicz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050106155552.GQ17821@suse.de \
--to=axboe@suse.de \
--cc=linux-ide@vger.kernel.org \
--cc=prarit@sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).