summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/map.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-04-17 15:28:51 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-29 23:28:37 -0400
commit52576da3545e78c534d901a39f6f2391665c641b (patch)
tree349a87013bdda071fcf3644521b3147e95ddaa2f /fs/hpfs/map.c
parentc4c995430a94e7d94526fcb347c4ba4b2ae82500 (diff)
downloadop-kernel-dev-52576da3545e78c534d901a39f6f2391665c641b.zip
op-kernel-dev-52576da3545e78c534d901a39f6f2391665c641b.tar.gz
hpfs: bitmaps are little-endian
annotate properly... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hpfs/map.c')
-rw-r--r--fs/hpfs/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hpfs/map.c b/fs/hpfs/map.c
index fffcb33..bbb174d 100644
--- a/fs/hpfs/map.c
+++ b/fs/hpfs/map.c
@@ -8,12 +8,12 @@
#include "hpfs_fn.h"
-unsigned *hpfs_map_dnode_bitmap(struct super_block *s, struct quad_buffer_head *qbh)
+__le32 *hpfs_map_dnode_bitmap(struct super_block *s, struct quad_buffer_head *qbh)
{
return hpfs_map_4sectors(s, hpfs_sb(s)->sb_dmap, qbh, 0);
}
-unsigned int *hpfs_map_bitmap(struct super_block *s, unsigned bmp_block,
+__le32 *hpfs_map_bitmap(struct super_block *s, unsigned bmp_block,
struct quad_buffer_head *qbh, char *id)
{
secno sec;
OpenPOWER on IntegriCloud