diff options
author | Christoph Hellwig <hch@tuxera.com> | 2010-11-23 14:37:47 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2010-11-23 14:37:47 +0100 |
commit | 52399b171dfaea02b6944cd6feba49b624147126 (patch) | |
tree | 199eda8c91a51fa1d4e3c792abd97d9c0a50ae26 /include/linux/bitops.h | |
parent | 3b5ce8ae31e3c66655207907527476bbd3e5063b (diff) | |
download | op-kernel-dev-52399b171dfaea02b6944cd6feba49b624147126.zip op-kernel-dev-52399b171dfaea02b6944cd6feba49b624147126.tar.gz |
hfsplus: use raw bio access for the volume headers
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: Christoph Hellwig <hch@tuxera.com>
Diffstat (limited to 'include/linux/bitops.h')
0 files changed, 0 insertions, 0 deletions