Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167743
b: refs/heads/master
c: 5c36fe3
h: refs/heads/master
i:
  167741: 271b5d9
  167739: 43e33fd
  167735: ec30161
  167727: e02cb8b
  167711: d5a4833
  167679: 0579fef
v: v3
  • Loading branch information
Ben Hutchings authored and Linus Torvalds committed Oct 29, 2009
1 parent 988dc51 commit 17ce7af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b5654f5e7fc414a6e69b3647db2b043257c9e62e
refs/heads/master: 5c36fe3d87b3f0c85894a49193c66096a3d6b26f
4 changes: 4 additions & 0 deletions trunk/fs/hfsplus/wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ int hfsplus_read_wrapper(struct super_block *sb)

if (hfsplus_get_last_session(sb, &part_start, &part_size))
return -EINVAL;
if ((u64)part_start + part_size > 0x100000000ULL) {
pr_err("hfs: volumes larger than 2TB are not supported yet\n");
return -EINVAL;
}
while (1) {
bh = sb_bread512(sb, part_start + HFSPLUS_VOLHEAD_SECTOR, vhdr);
if (!bh)
Expand Down

0 comments on commit 17ce7af

Please sign in to comment.