On Fri, Sep 29, 2006 at 12:37:37PM -0700, Randy Dunlap wrote: > Hm, I looked thru fs/bio.c and block/*.c and Documentation/Docbook/*.tmpl. > The best place that I see to put it right now is in > include/linux/bio.h, struct bio, field: bi_sector. > > What do you think of that? Well, ... Um. I can't think of anywhere better either, so how about this:- Signed-Off-By: Roger Gammans <[email protected]> diff --git a/include/linux/bio.h b/include/linux/bio.h index 76bdaea..77a8e6b 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -70,7 +70,8 @@ typedef void (bio_destructor_t) (struct * stacking drivers) */ struct bio { - sector_t bi_sector; + sector_t bi_sector; /* device address in 512 byte + sectors */ struct bio *bi_next; /* request queue link */ struct block_device *bi_bdev; unsigned long bi_flags; /* status, command, etc */ -- Roger. Home| http://www.sandman.uklinux.net/ Master of Peng Shui. (Ancient oriental art of Penguin Arranging) Work|Independent Sys Consultant | http://www.computer-surgery.co.uk/ So what are the eigenvalues and eigenvectors of 'The Matrix'? --anon
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: fs/bio.c - Hardcoded sector size ?
- From: Randy Dunlap <[email protected]>
- Re: fs/bio.c - Hardcoded sector size ?
- References:
- fs/bio.c - Hardcoded sector size ?
- From: Roger Gammans <[email protected]>
- Re: fs/bio.c - Hardcoded sector size ?
- From: Randy Dunlap <[email protected]>
- Re: fs/bio.c - Hardcoded sector size ?
- From: [email protected]
- Re: fs/bio.c - Hardcoded sector size ?
- From: Randy Dunlap <[email protected]>
- Re: fs/bio.c - Hardcoded sector size ?
- From: Roger Gammans <[email protected]>
- Re: fs/bio.c - Hardcoded sector size ?
- From: Randy Dunlap <[email protected]>
- fs/bio.c - Hardcoded sector size ?
- Prev by Date: Re: [PATCH] fix compiler warning in drivers/media/video/video-buf.c
- Next by Date: Re: GPLv3 Position Statement
- Previous by thread: Re: fs/bio.c - Hardcoded sector size ?
- Next by thread: Re: fs/bio.c - Hardcoded sector size ?
- Index(es):