diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2005-12-24 14:28:55 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-10 16:15:33 -0700 |
commit | a9721f3152bc2be6702807705902e06abdd6e3bb (patch) | |
tree | 4f01e2f3426697787330371ab822e7e60bc2238e /fs/befs/befs.h | |
parent | e5201c58cd81066ecd0210bcc6c02e71200040a3 (diff) | |
download | op-kernel-dev-a9721f3152bc2be6702807705902e06abdd6e3bb.zip op-kernel-dev-a9721f3152bc2be6702807705902e06abdd6e3bb.tar.gz |
[PATCH] befs: endianness annotations
split the data structures that exist in host- and disk-endian variants,
annotate the fields of disk-endian ones, propagate changes.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/befs/befs.h')
-rw-r--r-- | fs/befs/befs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/befs/befs.h b/fs/befs/befs.h index c400bb6..d9a40ab 100644 --- a/fs/befs/befs.h +++ b/fs/befs/befs.h @@ -94,7 +94,7 @@ void befs_debug(const struct super_block *sb, const char *fmt, ...); void befs_dump_super_block(const struct super_block *sb, befs_super_block *); void befs_dump_inode(const struct super_block *sb, befs_inode *); -void befs_dump_index_entry(const struct super_block *sb, befs_btree_super *); +void befs_dump_index_entry(const struct super_block *sb, befs_disk_btree_super *); void befs_dump_index_node(const struct super_block *sb, befs_btree_nodehead *); /****************************/ @@ -136,7 +136,7 @@ blockno2iaddr(struct super_block *sb, befs_blocknr_t blockno) static inline unsigned int befs_iaddrs_per_block(struct super_block *sb) { - return BEFS_SB(sb)->block_size / sizeof (befs_inode_addr); + return BEFS_SB(sb)->block_size / sizeof (befs_disk_inode_addr); } static inline int |