]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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 c21c527766bf396c4df9c89cfd762f621172a4df..3a8c6ba0638f5b68b1af946107c4b5468f3b5123 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 1d9ef96f33aa736beeeeda6b368453cecbe774e6..74a3b1057685c8d93db3494669d762ccc4da8a43 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__ */