mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
xfs: directory names are unsigned
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>
This commit is contained in:
parent
4e23471a3f
commit
e2bcd936eb
1 changed files with 2 additions and 2 deletions
|
@ -151,8 +151,8 @@ typedef enum {
|
||||||
} xfs_btnum_t;
|
} xfs_btnum_t;
|
||||||
|
|
||||||
struct xfs_name {
|
struct xfs_name {
|
||||||
const char *name;
|
const unsigned char *name;
|
||||||
int len;
|
int len;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __XFS_TYPES_H__ */
|
#endif /* __XFS_TYPES_H__ */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue