git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
include
/
linux
/
amigaffs.h
diff --git
a/include/linux/amigaffs.h
b/include/linux/amigaffs.h
index
6fb6bb5
..
b9a0ee6
100644
(file)
--- a/
include/linux/amigaffs.h
+++ b/
include/linux/amigaffs.h
@@
-80,14
+80,14
@@
affs_brelse(struct buffer_head *bh)
static inline void
affs_adjust_checksum(struct buffer_head *bh, u32 val)
{
static inline void
affs_adjust_checksum(struct buffer_head *bh, u32 val)
{
- u32 tmp = be32_to_cpu(((
u
32 *)bh->b_data)[5]);
- ((
u
32 *)bh->b_data)[5] = cpu_to_be32(tmp - val);
+ u32 tmp = be32_to_cpu(((
__be
32 *)bh->b_data)[5]);
+ ((
__be
32 *)bh->b_data)[5] = cpu_to_be32(tmp - val);
}
static inline void
affs_adjust_bitmapchecksum(struct buffer_head *bh, u32 val)
{
}
static inline void
affs_adjust_bitmapchecksum(struct buffer_head *bh, u32 val)
{
- u32 tmp = be32_to_cpu(((
u
32 *)bh->b_data)[0]);
- ((
u
32 *)bh->b_data)[0] = cpu_to_be32(tmp - val);
+ u32 tmp = be32_to_cpu(((
__be
32 *)bh->b_data)[0]);
+ ((
__be
32 *)bh->b_data)[0] = cpu_to_be32(tmp - val);
}
static inline void
}
static inline void
@@
-164,89
+164,89
@@
affs_unlock_ext(struct inode *inode)
#define AFFS_DATA(bh) (((struct affs_data_head *)(bh)->b_data)->data)
struct affs_date {
#define AFFS_DATA(bh) (((struct affs_data_head *)(bh)->b_data)->data)
struct affs_date {
-
u
32 days;
-
u
32 mins;
-
u
32 ticks;
+
__be
32 days;
+
__be
32 mins;
+
__be
32 ticks;
};
struct affs_short_date {
};
struct affs_short_date {
-
u
16 days;
-
u
16 mins;
-
u
16 ticks;
+
__be
16 days;
+
__be
16 mins;
+
__be
16 ticks;
};
struct affs_root_head {
};
struct affs_root_head {
-
u
32 ptype;
-
u
32 spare1;
-
u
32 spare2;
-
u
32 hash_size;
-
u
32 spare3;
-
u
32 checksum;
-
u
32 hashtable[1];
+
__be
32 ptype;
+
__be
32 spare1;
+
__be
32 spare2;
+
__be
32 hash_size;
+
__be
32 spare3;
+
__be
32 checksum;
+
__be
32 hashtable[1];
};
struct affs_root_tail {
};
struct affs_root_tail {
-
u
32 bm_flag;
-
u
32 bm_blk[AFFS_ROOT_BMAPS];
-
u
32 bm_ext;
+
__be
32 bm_flag;
+
__be
32 bm_blk[AFFS_ROOT_BMAPS];
+
__be
32 bm_ext;
struct affs_date root_change;
u8 disk_name[32];
struct affs_date root_change;
u8 disk_name[32];
-
u
32 spare1;
-
u
32 spare2;
+
__be
32 spare1;
+
__be
32 spare2;
struct affs_date disk_change;
struct affs_date disk_create;
struct affs_date disk_change;
struct affs_date disk_create;
-
u
32 spare3;
-
u
32 spare4;
-
u
32 dcache;
-
u
32 stype;
+
__be
32 spare3;
+
__be
32 spare4;
+
__be
32 dcache;
+
__be
32 stype;
};
struct affs_head {
};
struct affs_head {
-
u
32 ptype;
-
u
32 key;
-
u
32 block_count;
-
u
32 spare1;
-
u
32 first_data;
-
u
32 checksum;
-
u
32 table[1];
+
__be
32 ptype;
+
__be
32 key;
+
__be
32 block_count;
+
__be
32 spare1;
+
__be
32 first_data;
+
__be
32 checksum;
+
__be
32 table[1];
};
struct affs_tail {
};
struct affs_tail {
-
u
32 spare1;
-
u
16 uid;
-
u
16 gid;
-
u
32 protect;
-
u
32 size;
+
__be
32 spare1;
+
__be
16 uid;
+
__be
16 gid;
+
__be
32 protect;
+
__be
32 size;
u8 comment[92];
struct affs_date change;
u8 name[32];
u8 comment[92];
struct affs_date change;
u8 name[32];
-
u
32 spare2;
-
u
32 original;
-
u
32 link_chain;
-
u
32 spare[5];
-
u
32 hash_chain;
-
u
32 parent;
-
u
32 extension;
-
u
32 stype;
+
__be
32 spare2;
+
__be
32 original;
+
__be
32 link_chain;
+
__be
32 spare[5];
+
__be
32 hash_chain;
+
__be
32 parent;
+
__be
32 extension;
+
__be
32 stype;
};
struct slink_front
{
};
struct slink_front
{
-
u
32 ptype;
-
u
32 key;
-
u
32 spare1[3];
-
u
32 checksum;
+
__be
32 ptype;
+
__be
32 key;
+
__be
32 spare1[3];
+
__be
32 checksum;
u8 symname[1]; /* depends on block size */
};
struct affs_data_head
{
u8 symname[1]; /* depends on block size */
};
struct affs_data_head
{
-
u
32 ptype;
-
u
32 key;
-
u
32 sequence;
-
u
32 size;
-
u
32 next;
-
u
32 checksum;
+
__be
32 ptype;
+
__be
32 key;
+
__be
32 sequence;
+
__be
32 size;
+
__be
32 next;
+
__be
32 checksum;
u8 data[1]; /* depends on block size */
};
u8 data[1]; /* depends on block size */
};