Skip to contentSkip to conversation

ocfs2: replace u8 by __u8 in ocfs2_fs.h

PATCH New Coly Li 2 participants 2 messages Dec 6, 2009 – Dec 18, 2009 OCFS2

lore
Share & tools
lore

Coly Li

author
#0 lore raw

PATCH 1/1 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.

---
 fs/ocfs2/ocfs2_fs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/ocfs2/ocfs2_fs.h +1 -2
index e9431e4..1a1a679 100644
@@ -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

#1 lore raw

PATCH 1/1 ocfs2: replace u8 by __u8 in ocfs2_fs.h

Quoted 2 lines · Coly Li

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

Signature · 9 lines
"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