« Previous | Next » 

Revision 1e297c32

ID1e297c323590d3deae46e566956cc4351e2aa5da

Added by Christoph Hellwig over 10 years ago

block: fix physical_block_size calculation

Both SCSI and virtio expect the physical block size relative to the
logical block size. So get the factor first before calculating the
log2.

Reported-by: Mike Cao <>
Signed-off-by: Christoph Hellwig <>
Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences