Commit a3380ae39fa321282c407ba5e1835e14b64853d9

Authored by Dave Chinner
1 parent 2bc754213d

xfs: make xfs_dir_cilookup_result use unsigned char

For consistency with the result of the code.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>

Showing 2 changed files with 3 additions and 3 deletions Side-by-side Diff

... ... @@ -247,7 +247,7 @@
247 247 int
248 248 xfs_dir_cilookup_result(
249 249 struct xfs_da_args *args,
250   - const char *name,
  250 + const unsigned char *name,
251 251 int len)
252 252 {
253 253 if (args->cmpresult == XFS_CMP_DIFFERENT)
... ... @@ -100,8 +100,8 @@
100 100 extern int xfs_dir2_shrink_inode(struct xfs_da_args *args, xfs_dir2_db_t db,
101 101 struct xfs_dabuf *bp);
102 102  
103   -extern int xfs_dir_cilookup_result(struct xfs_da_args *args, const char *name,
104   - int len);
  103 +extern int xfs_dir_cilookup_result(struct xfs_da_args *args,
  104 + const unsigned char *name, int len);
105 105  
106 106 #endif /* __XFS_DIR2_H__ */