On Sun, 11 Oct 2009 03:11:27 +0100 Ben Hutchings b...@decadent.org.uk wrote:
As found in http://bugs.debian.org/550010, hfsplus is using type u32
rather than sector_t for some sector number calculations.
In particular, hfsplus_get_block() does:
u32 ablock, dblock, mask;
...
On Sun, 2009-10-11 at 00:51 -0700, Andrew Morton wrote:
[...]
--- a/fs/hfsplus/wrapper.c
+++ b/fs/hfsplus/wrapper.c
@@ -99,6 +99,10 @@
if (hfsplus_get_last_session(sb, part_start, part_size))
return -EINVAL;
+ if (part_start + part_size 0x1) {
+
As found in http://bugs.debian.org/550010, hfsplus is using type u32
rather than sector_t for some sector number calculations.
In particular, hfsplus_get_block() does:
u32 ablock, dblock, mask;
...
map_bh(bh_result, sb, (dblock HFSPLUS_SB(sb).fs_shift) +
3 matches
Mail list logo