diff options
author | Christoph Hellwig <hch@tuxera.com> | 2011-02-16 11:34:26 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2011-06-30 15:40:59 +0400 |
commit | c6d5f5fa658f2569a7baaff5acda261a1316cee9 (patch) | |
tree | 1e7e03558a9229e8fc3aaec450ffa8049a08c96b /fs/hfsplus/wrapper.c | |
parent | 4ba2d5fdcfd19de0dedf394ddc48db2f219fa89a (diff) | |
download | linux-c6d5f5fa658f2569a7baaff5acda261a1316cee9.tar.xz |
hfsplus: lift the 2TB size limit
Replace the hardcoded 2TB limit with a dynamic limit based on the block
size now that we have fixed the few overflows preventing operation
with large volumes.
Signed-off-by: Christoph Hellwig <hch@tuxera.com>
Diffstat (limited to 'fs/hfsplus/wrapper.c')
-rw-r--r-- | fs/hfsplus/wrapper.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/hfsplus/wrapper.c b/fs/hfsplus/wrapper.c index 4b86468125c1..2f933e83f5c5 100644 --- a/fs/hfsplus/wrapper.c +++ b/fs/hfsplus/wrapper.c @@ -141,10 +141,6 @@ int hfsplus_read_wrapper(struct super_block *sb) if (hfsplus_get_last_session(sb, &part_start, &part_size)) goto out; - if ((u64)part_start + part_size > 0x100000000ULL) { - pr_err("hfs: volumes larger than 2TB are not supported yet\n"); - goto out; - } error = -ENOMEM; sbi->s_vhdr = kmalloc(HFSPLUS_SECTOR_SIZE, GFP_KERNEL); |