diff options
author | Dave Chinner <david@fromorbit.com> | 2010-01-19 18:44:58 -0500 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2010-01-19 18:44:58 -0500 |
commit | e2bcd936eb95d0019ca5e05f9fdd27e770ddded1 (patch) | |
tree | ad034312226f380c34b530765967823d31034fa9 /fs | |
parent | 4e23471a3f3aba885ea70100db47ccacb5f069f6 (diff) |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/xfs_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_types.h b/fs/xfs/xfs_types.h index d725428c9df..b09904555d0 100644 --- a/fs/xfs/xfs_types.h +++ b/fs/xfs/xfs_types.h | |||
@@ -151,8 +151,8 @@ typedef enum { | |||
151 | } xfs_btnum_t; | 151 | } xfs_btnum_t; |
152 | 152 | ||
153 | struct xfs_name { | 153 | struct xfs_name { |
154 | const char *name; | 154 | const unsigned char *name; |
155 | int len; | 155 | int len; |
156 | }; | 156 | }; |
157 | 157 | ||
158 | #endif /* __XFS_TYPES_H__ */ | 158 | #endif /* __XFS_TYPES_H__ */ |