diff options
Diffstat (limited to 'fs/xfs/xfs_dir2.c')
-rw-r--r-- | fs/xfs/xfs_dir2.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/fs/xfs/xfs_dir2.c b/fs/xfs/xfs_dir2.c index bb1d58eb3982..42520f041265 100644 --- a/fs/xfs/xfs_dir2.c +++ b/fs/xfs/xfs_dir2.c | |||
@@ -40,11 +40,11 @@ | |||
40 | #include "xfs_dir2_leaf.h" | 40 | #include "xfs_dir2_leaf.h" |
41 | #include "xfs_dir2_block.h" | 41 | #include "xfs_dir2_block.h" |
42 | #include "xfs_dir2_node.h" | 42 | #include "xfs_dir2_node.h" |
43 | #include "xfs_dir2_trace.h" | ||
44 | #include "xfs_error.h" | 43 | #include "xfs_error.h" |
45 | #include "xfs_vnodeops.h" | 44 | #include "xfs_vnodeops.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) |
@@ -525,7 +525,8 @@ xfs_dir2_grow_inode( | |||
525 | xfs_trans_t *tp; | 525 | xfs_trans_t *tp; |
526 | xfs_drfsbno_t nblks; | 526 | xfs_drfsbno_t nblks; |
527 | 527 | ||
528 | xfs_dir2_trace_args_s("grow_inode", args, space); | 528 | trace_xfs_dir2_grow_inode(args, space); |
529 | |||
529 | dp = args->dp; | 530 | dp = args->dp; |
530 | tp = args->trans; | 531 | tp = args->trans; |
531 | mp = dp->i_mount; | 532 | mp = dp->i_mount; |
@@ -703,7 +704,8 @@ xfs_dir2_shrink_inode( | |||
703 | xfs_mount_t *mp; | 704 | xfs_mount_t *mp; |
704 | xfs_trans_t *tp; | 705 | xfs_trans_t *tp; |
705 | 706 | ||
706 | xfs_dir2_trace_args_db("shrink_inode", args, db, bp); | 707 | trace_xfs_dir2_shrink_inode(args, db); |
708 | |||
707 | dp = args->dp; | 709 | dp = args->dp; |
708 | mp = dp->i_mount; | 710 | mp = dp->i_mount; |
709 | tp = args->trans; | 711 | tp = args->trans; |