[PATCH] reiserfs endianness: annotate little-endian objects
little-endian objects annotated as such; again, obviously no changes of resulting code, we only replace __u16 with __le16, etc. in relevant places. Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Cc: <reiserfs-dev@namesys.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@@ -166,7 +166,7 @@ static int reiserfs_allocate_blocks_for_region(
|
||||
struct cpu_key key; // cpu key of item that we are going to deal with
|
||||
struct item_head *ih; // pointer to item head that we are going to deal with
|
||||
struct buffer_head *bh; // Buffer head that contains items that we are going to deal with
|
||||
__u32 * item; // pointer to item we are going to deal with
|
||||
__le32 * item; // pointer to item we are going to deal with
|
||||
INITIALIZE_PATH(path); // path to item, that we are going to deal with.
|
||||
b_blocknr_t *allocated_blocks; // Pointer to a place where allocated blocknumbers would be stored.
|
||||
reiserfs_blocknr_hint_t hint; // hint structure for block allocator.
|
||||
@@ -891,7 +891,7 @@ static int reiserfs_prepare_file_region_for_write(
|
||||
struct item_head *ih = NULL; // pointer to item head that we are going to deal with
|
||||
struct buffer_head *itembuf=NULL; // Buffer head that contains items that we are going to deal with
|
||||
INITIALIZE_PATH(path); // path to item, that we are going to deal with.
|
||||
__u32 * item=NULL; // pointer to item we are going to deal with
|
||||
__le32 * item=NULL; // pointer to item we are going to deal with
|
||||
int item_pos=-1; /* Position in indirect item */
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user