| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 1/8] xfs: directory names are unsigned |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Tue, 19 Jan 2010 11:30:19 +1100 |
| In-reply-to: | <1263861026-13448-1-git-send-email-david@xxxxxxxxxxxxx> |
| References: | <1263861026-13448-1-git-send-email-david@xxxxxxxxxxxxx> |
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@xxxxxxxxxxxxx>
---
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 d725428..b099045 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__ */
--
1.6.5
|
| Previous by Date: | [PATCH 5/8] xfs: xfs_buf_iomove() doesn't care about signedness, Dave Chinner |
|---|---|
| Next by Date: | [PATCH 0/2] xfsprogs: Cleaner build output, Dave Chinner |
| Previous by Thread: | Re: [PATCH 5/8] xfs: xfs_buf_iomove() doesn't care about signedness, Christoph Hellwig |
| Next by Thread: | Re: [PATCH 1/8] xfs: directory names are unsigned, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |