aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/unicode.c
diff options
context:
space:
mode:
authorAnton Salikhmetov <alexo@tuxera.com>2010-12-16 11:08:40 -0500
committerChristoph Hellwig <hch@tuxera.com>2010-12-16 12:08:46 -0500
commit20b7643d8ee44254fc972d42655bace81e7ab50a (patch)
treea6642fdd127abc31a173d032249cbd319d7ecae9 /fs/hfsplus/unicode.c
parent21f2296a598c4089e0a9bdf54634269ac913a693 (diff)
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>
Diffstat (limited to 'fs/hfsplus/unicode.c')
-rw-r--r--fs/hfsplus/unicode.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/fs/hfsplus/unicode.c b/fs/hfsplus/unicode.c
index 15703e81174e..7dd90a540546 100644
--- a/fs/hfsplus/unicode.c
+++ b/fs/hfsplus/unicode.c
@@ -17,14 +17,14 @@
17/* Returns folded char, or 0 if ignorable */ 17/* Returns folded char, or 0 if ignorable */
18static inline u16 case_fold(u16 c) 18static inline u16 case_fold(u16 c)
19{ 19{
20 u16 tmp; 20 u16 tmp;
21 21
22 tmp = hfsplus_case_fold_table[c >> 8]; 22 tmp = hfsplus_case_fold_table[c >> 8];
23 if (tmp) 23 if (tmp)
24 tmp = hfsplus_case_fold_table[tmp + (c & 0xff)]; 24 tmp = hfsplus_case_fold_table[tmp + (c & 0xff)];
25 else 25 else
26 tmp = c; 26 tmp = c;
27 return tmp; 27 return tmp;
28} 28}
29 29
30/* Compare unicode strings, return values like normal strcmp */ 30/* Compare unicode strings, return values like normal strcmp */
@@ -215,7 +215,7 @@ int hfsplus_uni2asc(struct super_block *sb,
215 goto done; 215 goto done;
216 } 216 }
217 } 217 }
218 same: 218same:
219 switch (c0) { 219 switch (c0) {
220 case 0: 220 case 0:
221 cc = 0x2400; 221 cc = 0x2400;
@@ -226,7 +226,7 @@ int hfsplus_uni2asc(struct super_block *sb,
226 default: 226 default:
227 cc = c0; 227 cc = c0;
228 } 228 }
229 done: 229done:
230 res = nls->uni2char(cc, op, len); 230 res = nls->uni2char(cc, op, len);
231 if (res < 0) { 231 if (res < 0) {
232 if (res == -ENAMETOOLONG) 232 if (res == -ENAMETOOLONG)