summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/map.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-04-17 16:41:13 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-29 23:28:39 -0400
commit28fe3c1963b0bafa56ec92df1987828090151d87 (patch)
tree021985387ca7d13dafd1571f1c3e9ad6f3051084 /fs/hpfs/map.c
parent77ee26e44c28823a29bc09091950544566ae7cea (diff)
downloadop-kernel-dev-28fe3c1963b0bafa56ec92df1987828090151d87.zip
op-kernel-dev-28fe3c1963b0bafa56ec92df1987828090151d87.tar.gz
hpfs: assorted endianness annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hpfs/map.c')
-rw-r--r--fs/hpfs/map.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/hpfs/map.c b/fs/hpfs/map.c
index d8bed6d..4acb19d 100644
--- a/fs/hpfs/map.c
+++ b/fs/hpfs/map.c
@@ -89,18 +89,18 @@ unsigned char *hpfs_load_code_page(struct super_block *s, secno cps)
return cp_table;
}
-secno *hpfs_load_bitmap_directory(struct super_block *s, secno bmp)
+__le32 *hpfs_load_bitmap_directory(struct super_block *s, secno bmp)
{
struct buffer_head *bh;
int n = (hpfs_sb(s)->sb_fs_size + 0x200000 - 1) >> 21;
int i;
- secno *b;
+ __le32 *b;
if (!(b = kmalloc(n * 512, GFP_KERNEL))) {
printk("HPFS: can't allocate memory for bitmap directory\n");
return NULL;
}
for (i=0;i<n;i++) {
- secno *d = hpfs_map_sector(s, bmp+i, &bh, n - i - 1);
+ __le32 *d = hpfs_map_sector(s, bmp+i, &bh, n - i - 1);
if (!d) {
kfree(b);
return NULL;
OpenPOWER on IntegriCloud