提交 e2bcd936 编写于 作者: D Dave Chinner

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: NDave Chinner <david@fromorbit.com>
Reviewed-by: NChristoph Hellwig <hch@lst.de>
上级 4e23471a
......@@ -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__ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册