summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/hpfs_fn.h
diff options
context:
space:
mode:
authorAl Viro2012-04-17 22:20:49 +0200
committerAl Viro2012-05-30 05:28:39 +0200
commit46287aa652fa8ea1edac41817ddc63332495ffc3 (patch)
tree9cb8043c555a66eae2fac22a3eeb7cdef78f3778 /fs/hpfs/hpfs_fn.h
parenthpfs: annotate struct anode (diff)
downloadkernel-qcow2-linux-46287aa652fa8ea1edac41817ddc63332495ffc3.tar.gz
kernel-qcow2-linux-46287aa652fa8ea1edac41817ddc63332495ffc3.tar.xz
kernel-qcow2-linux-46287aa652fa8ea1edac41817ddc63332495ffc3.zip
hpfs: annotate struct hpfs_dirent
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hpfs/hpfs_fn.h')
-rw-r--r--fs/hpfs/hpfs_fn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hpfs/hpfs_fn.h b/fs/hpfs/hpfs_fn.h
index 88f096d9dbee..067269143543 100644
--- a/fs/hpfs/hpfs_fn.h
+++ b/fs/hpfs/hpfs_fn.h
@@ -100,7 +100,7 @@ struct quad_buffer_head {
static inline dnode_secno de_down_pointer (struct hpfs_dirent *de)
{
CHKCOND(de->down,("HPFS: de_down_pointer: !de->down\n"));
- return le32_to_cpu(*(dnode_secno *) ((void *) de + le16_to_cpu(de->length) - 4));
+ return le32_to_cpu(*(__le32 *) ((void *) de + le16_to_cpu(de->length) - 4));
}
/* The first dir entry in a dnode */