diff options
author | Steve French <sfrench@us.ibm.com> | 2008-02-15 16:06:08 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-02-15 16:06:08 -0500 |
commit | 0a3abcf75bf391fec4e32356ab5ddb8f5d2e6b41 (patch) | |
tree | b80b1d344ec24cad28b057ef803cebac9434be01 /fs/hfsplus/unicode.c | |
parent | 70eff55d2d979cca700aa6906494f0c474f3f7ff (diff) | |
parent | 101142c37be8e5af9b847860219217e6b958c739 (diff) |
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'fs/hfsplus/unicode.c')
-rw-r--r-- | fs/hfsplus/unicode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/hfsplus/unicode.c b/fs/hfsplus/unicode.c index 9e10f9444b64..628ccf6fa402 100644 --- a/fs/hfsplus/unicode.c +++ b/fs/hfsplus/unicode.c | |||
@@ -325,7 +325,7 @@ int hfsplus_hash_dentry(struct dentry *dentry, struct qstr *str) | |||
325 | struct super_block *sb = dentry->d_sb; | 325 | struct super_block *sb = dentry->d_sb; |
326 | const char *astr; | 326 | const char *astr; |
327 | const u16 *dstr; | 327 | const u16 *dstr; |
328 | int casefold, decompose, size, dsize, len; | 328 | int casefold, decompose, size, len; |
329 | unsigned long hash; | 329 | unsigned long hash; |
330 | wchar_t c; | 330 | wchar_t c; |
331 | u16 c2; | 331 | u16 c2; |
@@ -336,6 +336,7 @@ int hfsplus_hash_dentry(struct dentry *dentry, struct qstr *str) | |||
336 | astr = str->name; | 336 | astr = str->name; |
337 | len = str->len; | 337 | len = str->len; |
338 | while (len > 0) { | 338 | while (len > 0) { |
339 | int uninitialized_var(dsize); | ||
339 | size = asc2unichar(sb, astr, len, &c); | 340 | size = asc2unichar(sb, astr, len, &c); |
340 | astr += size; | 341 | astr += size; |
341 | len -= size; | 342 | len -= size; |