summaryrefslogtreecommitdiffstats
path: root/include/linux/bio.h
diff options
context:
space:
mode:
authorRoger Gammans <roger@computer-surgery.co.uk>2006-10-04 13:37:45 +0200
committerJens Axboe <axboe@nelson.home.kernel.dk>2006-10-04 19:32:09 +0200
commit2c2345c2b4fec30d12e1e1a6ee153a80af101e32 (patch)
tree0ca95b58b0e3f3ee15c948ce97bdcfde5c8869ed /include/linux/bio.h
parentf583f4924d669d36de677e0cc2422ee95203d444 (diff)
downloadlinux-2c2345c2b4fec30d12e1e1a6ee153a80af101e32.tar.gz
linux-2c2345c2b4fec30d12e1e1a6ee153a80af101e32.tar.bz2
linux-2c2345c2b4fec30d12e1e1a6ee153a80af101e32.zip
[PATCH] Document bi_sector and sector_t
Signed-Off-By: Roger Gammans <rgammans@computer-surgery.co.uk> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r--include/linux/bio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h
index 711c321a7011..092dbd0e7658 100644
--- a/include/linux/bio.h
+++ b/include/linux/bio.h
@@ -70,7 +70,8 @@ typedef void (bio_destructor_t) (struct bio *);
* 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 */