xfs: directory names are unsigned
authorDave Chinner <david@fromorbit.com>
Tue, 19 Jan 2010 23:44:58 +0000 (10:44 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 19 Jan 2010 23:44:58 +0000 (10:44 +1100)
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>
fs/xfs/xfs_types.h

index d725428..b099045 100644 (file)
@@ -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__ */