Skip to contentSkip to conversation

gfs2_dinode_host fields are host-endian [2/70]

GFS2 Steven Whitehouse 1 participant 1 message Nov 30, 2006 GFS2 file system

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

From 5c6edb576f3800723bb65dbfaff82517089e32d0 Mon Sep 17 00:00:00 2001

From: Al Viro <[email protected]>
Date: Fri, 13 Oct 2006 20:33:01 -0400
Subject: [PATCH] [GFS2] gfs2_dinode_host fields are host-endian

Annotated scalar fields, dropped unused ones. Note that it's not at all obvious that we want to convert all of them to host-endian...

---
 fs/gfs2/incore.h            |    2 +-
 include/linux/gfs2_ondisk.h |   47 ++++++++++++++++++-------------------------
 2 files changed, 21 insertions(+), 28 deletions(-)
fs/gfs2/incore.h +1 -1
index 118dc69..1c876e0 100644
@@ -229,7 +229,7 @@ struct gfs2_inode {
 	unsigned long i_flags;		/* GIF_... */
 
 	u64 i_vn;
-	struct gfs2_dinode i_di; /* To be replaced by ref to block */
+	struct gfs2_dinode_host i_di; /* To be replaced by ref to block */
 
 	struct gfs2_glock *i_gl; /* Move into i_gh? */
 	struct gfs2_holder i_iopen_gh;
include/linux/gfs2_ondisk.h +20 -27

61 lines not on this page · raw message

Signature · 1 line
1.4.1