Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97240
b: refs/heads/master
c: 80bfc25
h: refs/heads/master
v: v3
  • Loading branch information
Marcin Slusarz authored and Linus Torvalds committed May 24, 2008
1 parent d6b4224 commit 3ebf38c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f7232154198f928fc25f420d6190468212a7632a
refs/heads/master: 80bfc25f42db6d4715c7688ae2352c5a8038fe7e
5 changes: 2 additions & 3 deletions trunk/fs/ntfs/upcase.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,10 @@ ntfschar *generate_default_upcase(void)
uc[i] = cpu_to_le16(i);
for (r = 0; uc_run_table[r][0]; r++)
for (i = uc_run_table[r][0]; i < uc_run_table[r][1]; i++)
uc[i] = cpu_to_le16(le16_to_cpu(uc[i]) +
uc_run_table[r][2]);
le16_add_cpu(&uc[i], uc_run_table[r][2]);
for (r = 0; uc_dup_table[r][0]; r++)
for (i = uc_dup_table[r][0]; i < uc_dup_table[r][1]; i += 2)
uc[i + 1] = cpu_to_le16(le16_to_cpu(uc[i + 1]) - 1);
le16_add_cpu(&uc[i + 1], -1);
for (r = 0; uc_word_table[r][0]; r++)
uc[uc_word_table[r][0]] = cpu_to_le16(uc_word_table[r][1]);
return uc;
Expand Down

0 comments on commit 3ebf38c

Please sign in to comment.