Skip to content

Commit

Permalink
xfs: directory names are unsigned
Browse files Browse the repository at this point in the history
Convert the struct xfs_name to use unsigned chars for the name
strings to match both what is stored on disk (__uint8_t) and what
the VFS expects (unsigned char).

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 4e23471 commit e2bcd93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/xfs/xfs_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ typedef enum {
} xfs_btnum_t;

struct xfs_name {
const char *name;
int len;
const unsigned char *name;
int len;
};

#endif /* __XFS_TYPES_H__ */

0 comments on commit e2bcd93

Please sign in to comment.