• C
    hfsplus: use raw bio access for the volume headers · 52399b17
    Christoph Hellwig 提交于
    The hfsplus backup volume header is located two blocks from the end of
    the device.  In case of device sizes that are not 4k aligned this means
    we can't access it using buffer_heads when using the default 4k block
    size.
    
    Switch to using raw bios to read/write all buffer headers.  We were not
    relying on any caching behaviour of the buffer heads anyway.  Additionally
    always read in the backup volume header during mount to verify that we
    can actually read it.
    Signed-off-by: NChristoph Hellwig <hch@tuxera.com>
    52399b17
super.c 13.9 KB