diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-03-31 18:23:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-01 11:59:18 -0400 |
commit | 63cd885426872254e82dac2d9e13ea4f720c21dc (patch) | |
tree | addd6687abbbcd428c179260737fc97b25b7aa64 /fs/ntfs/dir.c | |
parent | 311d07611e8b354cc1ee6546e4c574c01111adc8 (diff) |
ntfs: remove private wrapper of endian helpers
The base versions handle constant folding now and are shorter than these
private wrappers, use them directly.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Anton Altaparmakov <aia21@cantab.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ntfs/dir.c')
-rw-r--r-- | fs/ntfs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ntfs/dir.c b/fs/ntfs/dir.c index 34314b33dbd4..5a9e34475e37 100644 --- a/fs/ntfs/dir.c +++ b/fs/ntfs/dir.c | |||
@@ -32,8 +32,8 @@ | |||
32 | /** | 32 | /** |
33 | * The little endian Unicode string $I30 as a global constant. | 33 | * The little endian Unicode string $I30 as a global constant. |
34 | */ | 34 | */ |
35 | ntfschar I30[5] = { const_cpu_to_le16('$'), const_cpu_to_le16('I'), | 35 | ntfschar I30[5] = { cpu_to_le16('$'), cpu_to_le16('I'), |
36 | const_cpu_to_le16('3'), const_cpu_to_le16('0'), 0 }; | 36 | cpu_to_le16('3'), cpu_to_le16('0'), 0 }; |
37 | 37 | ||
38 | /** | 38 | /** |
39 | * ntfs_lookup_inode_by_name - find an inode in a directory given its name | 39 | * ntfs_lookup_inode_by_name - find an inode in a directory given its name |