hfsplus: spaces/indentation clean-up

Fix incorrect spaces and indentation reported by checkpatch.pl.

Signed-off-by: Anton Salikhmetov <alexo@tuxera.com>
Signed-off-by: Christoph Hellwig <hch@tuxera.com>

authored by Anton Salikhmetov and committed by Christoph Hellwig 20b7643d 21f2296a

+13 -13
+1 -1
fs/hfsplus/dir.c
··· 213 err = -EIO; 214 goto out; 215 } 216 - next: 217 filp->f_pos++; 218 if (filp->f_pos >= inode->i_size) 219 goto out;
··· 213 err = -EIO; 214 goto out; 215 } 216 + next: 217 filp->f_pos++; 218 if (filp->f_pos >= inode->i_size) 219 goto out;
+1 -1
fs/hfsplus/inode.c
··· 355 }; 356 357 static const struct file_operations hfsplus_file_operations = { 358 - .llseek = generic_file_llseek, 359 .read = do_sync_read, 360 .aio_read = generic_file_aio_read, 361 .write = do_sync_write,
··· 355 }; 356 357 static const struct file_operations hfsplus_file_operations = { 358 + .llseek = generic_file_llseek, 359 .read = do_sync_read, 360 .aio_read = generic_file_aio_read, 361 .write = do_sync_write,
+2 -2
fs/hfsplus/part_tbl.c
··· 60 */ 61 struct old_pmap { 62 __be16 pdSig; /* Signature bytes */ 63 - struct old_pmap_entry { 64 __be32 pdStart; 65 __be32 pdSize; 66 __be32 pdFSID; ··· 97 int i = 0; 98 99 do { 100 - if (!memcmp(pm->pmPartType,"Apple_HFS", 9) && 101 (sbi->part < 0 || sbi->part == i)) { 102 *part_start += be32_to_cpu(pm->pmPyPartStart); 103 *part_size = be32_to_cpu(pm->pmPartBlkCnt);
··· 60 */ 61 struct old_pmap { 62 __be16 pdSig; /* Signature bytes */ 63 + struct old_pmap_entry { 64 __be32 pdStart; 65 __be32 pdSize; 66 __be32 pdFSID; ··· 97 int i = 0; 98 99 do { 100 + if (!memcmp(pm->pmPartType, "Apple_HFS", 9) && 101 (sbi->part < 0 || sbi->part == i)) { 102 *part_start += be32_to_cpu(pm->pmPyPartStart); 103 *part_size = be32_to_cpu(pm->pmPartBlkCnt);
+9 -9
fs/hfsplus/unicode.c
··· 17 /* Returns folded char, or 0 if ignorable */ 18 static inline u16 case_fold(u16 c) 19 { 20 - u16 tmp; 21 22 - tmp = hfsplus_case_fold_table[c >> 8]; 23 - if (tmp) 24 - tmp = hfsplus_case_fold_table[tmp + (c & 0xff)]; 25 - else 26 - tmp = c; 27 - return tmp; 28 } 29 30 /* Compare unicode strings, return values like normal strcmp */ ··· 215 goto done; 216 } 217 } 218 - same: 219 switch (c0) { 220 case 0: 221 cc = 0x2400; ··· 226 default: 227 cc = c0; 228 } 229 - done: 230 res = nls->uni2char(cc, op, len); 231 if (res < 0) { 232 if (res == -ENAMETOOLONG)
··· 17 /* Returns folded char, or 0 if ignorable */ 18 static inline u16 case_fold(u16 c) 19 { 20 + u16 tmp; 21 22 + tmp = hfsplus_case_fold_table[c >> 8]; 23 + if (tmp) 24 + tmp = hfsplus_case_fold_table[tmp + (c & 0xff)]; 25 + else 26 + tmp = c; 27 + return tmp; 28 } 29 30 /* Compare unicode strings, return values like normal strcmp */ ··· 215 goto done; 216 } 217 } 218 + same: 219 switch (c0) { 220 case 0: 221 cc = 0x2400; ··· 226 default: 227 cc = c0; 228 } 229 + done: 230 res = nls->uni2char(cc, op, len); 231 if (res < 0) { 232 if (res == -ENAMETOOLONG)