浏览代码

hpfs: annotate struct anode

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 13 年之前
父节点
当前提交
6ce2bbba52
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      fs/hpfs/hpfs.h

+ 4 - 4
fs/hpfs/hpfs.h

@@ -489,9 +489,9 @@ static inline bool fnode_is_dir(struct fnode *p)
 
 struct anode
 {
-  u32 magic;				/* 37e4 0aae */
-  anode_secno self;			/* pointer to this anode */
-  secno up;				/* parent anode or fnode */
+  __le32 magic;				/* 37e4 0aae */
+  __le32 self;				/* pointer to this anode */
+  __le32 up;				/* parent anode or fnode */
 
   struct bplus_header btree;		/* b+tree, 40 extents or 60 subtrees */
   union {
@@ -499,7 +499,7 @@ struct anode
     struct bplus_internal_node internal[60];
   } u;
 
-  u32 fill[3];				/* unused */
+  __le32 fill[3];			/* unused */
 };