Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 28 Nov 2001 02:34:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 28 Nov 2001 02:34:12 -0500 Received: from ns.virtualhost.dk ([195.184.98.160]:5391 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id ; Wed, 28 Nov 2001 02:34:02 -0500 Date: Wed, 28 Nov 2001 08:33:39 +0100 From: Jens Axboe To: David Mansfield Cc: linux-kernel@vger.kernel.org Subject: Re: comment typo for generic_make_request in 2.5.1-pre2? Message-ID: <20011128083338.I23858@suse.de> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 27 2001, David Mansfield wrote: > > Hi Jens et al, > > Just looking at the bio changes in pre2 and I came across the comment for > generic_make_request that says it may change bi_dev and/or bi_rsector. I > think the bi_rsector is supposed to be bi_sector (since the former no > longer exists). Here's a patch if in fact this is just a typo: > > --- ll_rw_blk.c.orig Tue Nov 27 14:57:40 2001 > +++ ll_rw_blk.c Tue Nov 27 15:02:23 2001 > @@ -1041,7 +1041,7 @@ > * > * generic_make_request and the drivers it calls may use bi_next if this > * bio happens to be merged with someone else, and may change bi_dev and > - * bi_rsector for remaps as it sees fit. So the values of these fields > + * bi_sector for remaps as it sees fit. So the values of these fields > * should NOT be depended on after the call to generic_make_request. > * > * */ Thanks, applied. > It's really no big deal, but I guess even the comments deserve to be > correct. Anyway, this stuff is certainly fun reading! Good :-) -- 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/