diff options
Diffstat (limited to 'fs/hfsplus/part_tbl.c')
-rw-r--r-- | fs/hfsplus/part_tbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hfsplus/part_tbl.c b/fs/hfsplus/part_tbl.c index 79eea8efad8e..d66ad113b1cc 100644 --- a/fs/hfsplus/part_tbl.c +++ b/fs/hfsplus/part_tbl.c | |||
@@ -60,7 +60,7 @@ struct new_pmap { | |||
60 | */ | 60 | */ |
61 | struct old_pmap { | 61 | struct old_pmap { |
62 | __be16 pdSig; /* Signature bytes */ | 62 | __be16 pdSig; /* Signature bytes */ |
63 | struct old_pmap_entry { | 63 | struct old_pmap_entry { |
64 | __be32 pdStart; | 64 | __be32 pdStart; |
65 | __be32 pdSize; | 65 | __be32 pdSize; |
66 | __be32 pdFSID; | 66 | __be32 pdFSID; |
@@ -97,7 +97,7 @@ static int hfs_parse_new_pmap(struct super_block *sb, struct new_pmap *pm, | |||
97 | int i = 0; | 97 | int i = 0; |
98 | 98 | ||
99 | do { | 99 | do { |
100 | if (!memcmp(pm->pmPartType,"Apple_HFS", 9) && | 100 | if (!memcmp(pm->pmPartType, "Apple_HFS", 9) && |
101 | (sbi->part < 0 || sbi->part == i)) { | 101 | (sbi->part < 0 || sbi->part == i)) { |
102 | *part_start += be32_to_cpu(pm->pmPyPartStart); | 102 | *part_start += be32_to_cpu(pm->pmPyPartStart); |
103 | *part_size = be32_to_cpu(pm->pmPartBlkCnt); | 103 | *part_size = be32_to_cpu(pm->pmPartBlkCnt); |