On Wed, Dec 23, 2009 at 01:07:20PM -0500, Mike Snitzer wrote: > + sector_t offset = (get_start_sect(bdev) + start) << 9; Please can you fix the types here? 'offset' is defined as sector_t i.e. number of sectors, so shouldn't have '<< 9' which would make it bytes i.e. *not* sector_t. Alasdair -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel