Skip to content

Commit

Permalink
xfs: make xfs_dir_cilookup_result use unsigned char
Browse files Browse the repository at this point in the history
For consistency with the result of the code.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
Dave Chinner committed Jan 19, 2010
1 parent 2bc7542 commit a3380ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fs/xfs/xfs_dir2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions fs/xfs/xfs_dir2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */

0 comments on commit a3380ae

Please sign in to comment.