Hi Marco, > +static inline sector_t size_to_sectors(long long size) > +{ > + return size >> SECTOR_SHIFT; > +} > + FWIW, in SCSI we have: logical_to_sectors() logical_to_bytes() bytes_to_logical() sectors_to_logical() I'm not attached to "bytes" in any way but it would be nice to be consistent. -- Martin K. Petersen Oracle Linux Engineering