xfs: make xfs_dir_cilookup_result use unsigned char
authorDave Chinner <david@fromorbit.com>
Tue, 19 Jan 2010 23:47:25 +0000 (10:47 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 19 Jan 2010 23:47:25 +0000 (10:47 +1100)
For consistency with the result of the code.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_dir2.c
fs/xfs/xfs_dir2.h

index c21c527..3a8c6ba 100644 (file)
@@ -247,7 +247,7 @@ xfs_dir_createname(
 int
 xfs_dir_cilookup_result(
        struct xfs_da_args *args,
-       const char      *name,
+       const unsigned char *name,
        int             len)
 {
        if (args->cmpresult == XFS_CMP_DIFFERENT)
index 1d9ef96..74a3b10 100644 (file)
@@ -100,7 +100,7 @@ extern int xfs_dir2_isleaf(struct xfs_trans *tp, struct xfs_inode *dp,
 extern int xfs_dir2_shrink_inode(struct xfs_da_args *args, xfs_dir2_db_t db,
                                struct xfs_dabuf *bp);
 
-extern int xfs_dir_cilookup_result(struct xfs_da_args *args, const char *name,
-                               int len);
+extern int xfs_dir_cilookup_result(struct xfs_da_args *args,
+                               const unsigned char *name, int len);
 
 #endif /* __XFS_DIR2_H__ */