diff options
Diffstat (limited to 'fs/xfs/xfs_dir2.c')
-rw-r--r-- | fs/xfs/xfs_dir2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_dir2.c b/fs/xfs/xfs_dir2.c index 93634a7e90e9..42520f041265 100644 --- a/fs/xfs/xfs_dir2.c +++ b/fs/xfs/xfs_dir2.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include "xfs_vnodeops.h" | 44 | #include "xfs_vnodeops.h" |
45 | #include "xfs_trace.h" | 45 | #include "xfs_trace.h" |
46 | 46 | ||
47 | struct xfs_name xfs_name_dotdot = {"..", 2}; | 47 | struct xfs_name xfs_name_dotdot = { (unsigned char *)"..", 2}; |
48 | 48 | ||
49 | /* | 49 | /* |
50 | * ASCII case-insensitive (ie. A-Z) support for directories that was | 50 | * ASCII case-insensitive (ie. A-Z) support for directories that was |
@@ -66,8 +66,8 @@ xfs_ascii_ci_hashname( | |||
66 | STATIC enum xfs_dacmp | 66 | STATIC enum xfs_dacmp |
67 | xfs_ascii_ci_compname( | 67 | xfs_ascii_ci_compname( |
68 | struct xfs_da_args *args, | 68 | struct xfs_da_args *args, |
69 | const char *name, | 69 | const unsigned char *name, |
70 | int len) | 70 | int len) |
71 | { | 71 | { |
72 | enum xfs_dacmp result; | 72 | enum xfs_dacmp result; |
73 | int i; | 73 | int i; |
@@ -247,7 +247,7 @@ xfs_dir_createname( | |||
247 | int | 247 | int |
248 | xfs_dir_cilookup_result( | 248 | xfs_dir_cilookup_result( |
249 | struct xfs_da_args *args, | 249 | struct xfs_da_args *args, |
250 | const char *name, | 250 | const unsigned char *name, |
251 | int len) | 251 | int len) |
252 | { | 252 | { |
253 | if (args->cmpresult == XFS_CMP_DIFFERENT) | 253 | if (args->cmpresult == XFS_CMP_DIFFERENT) |