提交 77ee26e4 编写于 作者: A Al Viro

hpfs: annotate ea

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 46287aa6
...@@ -148,12 +148,12 @@ static inline struct extended_attribute *next_ea(struct extended_attribute *ea) ...@@ -148,12 +148,12 @@ static inline struct extended_attribute *next_ea(struct extended_attribute *ea)
static inline secno ea_sec(struct extended_attribute *ea) static inline secno ea_sec(struct extended_attribute *ea)
{ {
return le32_to_cpu(get_unaligned((secno *)((char *)ea + 9 + ea->namelen))); return le32_to_cpu(get_unaligned((__le32 *)((char *)ea + 9 + ea->namelen)));
} }
static inline secno ea_len(struct extended_attribute *ea) static inline secno ea_len(struct extended_attribute *ea)
{ {
return le32_to_cpu(get_unaligned((secno *)((char *)ea + 5 + ea->namelen))); return le32_to_cpu(get_unaligned((__le32 *)((char *)ea + 5 + ea->namelen)));
} }
static inline char *ea_data(struct extended_attribute *ea) static inline char *ea_data(struct extended_attribute *ea)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册