• Joe Thornber's avatar
    [PATCH] dm: block size bug with 64 bit devs · 92155747
    Joe Thornber authored
    With 32 bit sector_t the block device size _in bytes_ is also cut to
    32 bit in __set_size when the block device is mount (a filesystem
    mounted). The argument should be cast to loff_t before expanding the
    sector count to a byte count and calling i_size_write.
    
    [Christophe Saout]
    92155747
dm.c 18.4 KB