summaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorDave Chinner2010-01-20 00:44:58 +0100
committerDave Chinner2010-01-20 00:44:58 +0100
commite2bcd936eb95d0019ca5e05f9fdd27e770ddded1 (patch)
treead034312226f380c34b530765967823d31034fa9 /fs/xfs
parentxfs: move more buffer helpers into xfs_buf.c (diff)
downloadkernel-qcow2-linux-e2bcd936eb95d0019ca5e05f9fdd27e770ddded1.tar.gz
kernel-qcow2-linux-e2bcd936eb95d0019ca5e05f9fdd27e770ddded1.tar.xz
kernel-qcow2-linux-e2bcd936eb95d0019ca5e05f9fdd27e770ddded1.zip
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/xfs')
-rw-r--r--fs/xfs/xfs_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_types.h b/fs/xfs/xfs_types.h
index d725428c9df6..b09904555d07 100644
--- a/fs/xfs/xfs_types.h
+++ b/fs/xfs/xfs_types.h
@@ -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__ */