git: sys/dev/disk/dm: Remove #if0'd code from NetBSD

Tomohiro Kusumi tkusumi at
Sat Oct 10 05:46:05 PDT 2015

commit fe997c739146a86d12d18e896bb6e6aac7ff48ef
Author: Tomohiro Kusumi <kusumi.tomohiro at>
Date:   Sat Oct 10 02:35:57 2015 +0900

    sys/dev/disk/dm: Remove #if0'd code from NetBSD
    DragonFly has no bp->b_blkno field.
    Linear mapping in DragonFly is done by
    bp->b_bio1.bio_offset = (offset - logical_volume_start)
    bp->b_bio1.bio_offset += (physical_volume_start)
    Also change printf to kprintf.

Summary of changes:
 sys/dev/disk/dm/targets/linear/dm_target_linear.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list