Coly Li
2009-Dec-06 14:38 UTC
[Ocfs2-devel] [PATCH] ocfs2: replace u8 by __u8 in ocfs2_fs.h
This patch replaces date type 'u8' with '__u8', which follows
the coding style of ocfs2_fs.h, and portable to user space
for ocfs2-tools.
Signed-off-by: Coly Li <coly.li at suse.de>
---
fs/ocfs2/ocfs2_fs.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ocfs2/ocfs2_fs.h b/fs/ocfs2/ocfs2_fs.h
index e9431e4..1a1a679 100644
--- a/fs/ocfs2/ocfs2_fs.h
+++ b/fs/ocfs2/ocfs2_fs.h
@@ -1202,7 +1202,7 @@ struct ocfs2_local_disk_dqinfo {
/* Header of one chunk of a quota file */
struct ocfs2_local_disk_chunk {
__le32 dqc_free; /* Number of free entries in the bitmap */
- u8 dqc_bitmap[0]; /* Bitmap of entries in the corresponding
+ __u8 dqc_bitmap[0]; /* Bitmap of entries in the corresponding
* chunk of quota file */
};
--
Coly Li
SuSE Labs
Joel Becker
2009-Dec-18 05:09 UTC
[Ocfs2-devel] [PATCH] ocfs2: replace u8 by __u8 in ocfs2_fs.h
On Sun, Dec 06, 2009 at 10:38:53PM +0800, Coly Li wrote:> This patch replaces date type 'u8' with '__u8', which follows the coding style of ocfs2_fs.h, and portable to user space > for ocfs2-tools.This is now in ocfs2.git. Joel -- "For every complex problem there exists a solution that is brief, concise, and totally wrong." -Unknown Joel Becker Principal Software Developer Oracle E-mail: joel.becker at oracle.com Phone: (650) 506-8127