diff options
author | phk <phk@FreeBSD.org> | 2003-10-18 17:53:34 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-10-18 17:53:34 +0000 |
commit | b3eb57c5d4e776fd1834e960b774ee2ca7221842 (patch) | |
tree | ee5aea4ac66d53eb507197208fd73f67496e4c81 /sys/geom/geom_disk.c | |
parent | 5a1c5c9c133e6203cc6a02b83c76730842c39948 (diff) | |
download | FreeBSD-src-b3eb57c5d4e776fd1834e960b774ee2ca7221842.zip FreeBSD-src-b3eb57c5d4e776fd1834e960b774ee2ca7221842.tar.gz |
Retire bio_blkno entirely.
bio_offset is the field drivers should use.
bio_pblkno remains as a convenient place to store the number of
the device drivers.
Diffstat (limited to 'sys/geom/geom_disk.c')
-rw-r--r-- | sys/geom/geom_disk.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c index 8bb9850..b2a3717 100644 --- a/sys/geom/geom_disk.c +++ b/sys/geom/geom_disk.c @@ -265,7 +265,6 @@ g_disk_start(struct bio *bp) bp->bio_error = ENOMEM; } bp2->bio_done = g_disk_done; - bp2->bio_blkno = bp2->bio_offset >> DEV_BSHIFT; bp2->bio_pblkno = bp2->bio_offset / dp->d_sectorsize; bp2->bio_bcount = bp2->bio_length; bp2->bio_disk = dp; |