]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
hpfs: annotate struct dnode
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 17 Apr 2012 19:32:22 +0000 (15:32 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 30 May 2012 03:28:37 +0000 (23:28 -0400)
little-endians...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hpfs/hpfs.h

index 37cc4483fbd19d9be56056355fd4db7b7f558ad5..b4e035ce65dbf14b8d5d1b44cb1d27c01bab9f47 100644 (file)
@@ -278,8 +278,8 @@ struct code_page_data
 #define DNODE_MAGIC   0x77e40aae
 
 struct dnode {
-  u32 magic;                           /* 77e4 0aae */
-  u32 first_free;                      /* offset from start of dnode to
+  __le32 magic;                                /* 77e4 0aae */
+  __le32 first_free;                   /* offset from start of dnode to
                                           first free dir entry */
 #ifdef __LITTLE_ENDIAN
   u8 root_dnode: 1;                    /* Is it root dnode? */
@@ -293,9 +293,9 @@ struct dnode {
   u8 root_dnode: 1;                    /* Is it root dnode? */
 #endif
   u8 increment_me2[3];
-  secno up;                            /* (root dnode) directory's fnode
+  __le32 up;                           /* (root dnode) directory's fnode
                                           (nonroot) parent dnode */
-  dnode_secno self;                    /* pointer to this dnode */
+  __le32 self;                 /* pointer to this dnode */
   u8 dirent[2028];                     /* one or more dirents */
 };