xfs: convert dirnameops to unsigned char names
To be consistent across the codebase, convert the dirnameops to pass the directory names by unsigned char strings. Signed-off-by: Dave Chinner <david@fromorbit.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -1534,8 +1534,8 @@ xfs_da_hashname(const __uint8_t *name, int namelen)
|
||||
enum xfs_dacmp
|
||||
xfs_da_compname(
|
||||
struct xfs_da_args *args,
|
||||
const char *name,
|
||||
int len)
|
||||
const unsigned char *name,
|
||||
int len)
|
||||
{
|
||||
return (args->namelen == len && memcmp(args->name, name, len) == 0) ?
|
||||
XFS_CMP_EXACT : XFS_CMP_DIFFERENT;
|
||||
|
Reference in New Issue
Block a user