Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
85158410
Commit
85158410
authored
Apr 12, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ocfs2: trivial endianness misannotations
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
66f8f509
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
fs/ocfs2/dlm/dlmast.c
fs/ocfs2/dlm/dlmast.c
+1
-1
fs/ocfs2/dlm/dlmcommon.h
fs/ocfs2/dlm/dlmcommon.h
+3
-3
fs/ocfs2/dlm/dlmdomain.c
fs/ocfs2/dlm/dlmdomain.c
+1
-1
No files found.
fs/ocfs2/dlm/dlmast.c
View file @
85158410
...
...
@@ -293,7 +293,7 @@ int dlm_proxy_ast_handler(struct o2net_msg *msg, u32 len, void *data,
struct
dlm_proxy_ast
*
past
=
(
struct
dlm_proxy_ast
*
)
msg
->
buf
;
char
*
name
;
struct
list_head
*
iter
,
*
head
=
NULL
;
u
64
cookie
;
__be
64
cookie
;
u32
flags
;
u8
node
;
...
...
fs/ocfs2/dlm/dlmcommon.h
View file @
85158410
...
...
@@ -679,7 +679,7 @@ struct dlm_query_join_packet {
};
union
dlm_query_join_response
{
u
32
intval
;
__be
32
intval
;
struct
dlm_query_join_packet
packet
;
};
...
...
@@ -755,8 +755,8 @@ struct dlm_query_region {
struct
dlm_node_info
{
u8
ni_nodenum
;
u8
pad1
;
u
16
ni_ipv4_port
;
u
32
ni_ipv4_address
;
__be
16
ni_ipv4_port
;
__be
32
ni_ipv4_address
;
};
struct
dlm_query_nodeinfo
{
...
...
fs/ocfs2/dlm/dlmdomain.c
View file @
85158410
...
...
@@ -818,7 +818,7 @@ static void dlm_query_join_packet_to_wire(struct dlm_query_join_packet *packet,
union
dlm_query_join_response
response
;
response
.
packet
=
*
packet
;
*
wire
=
cpu_to_be32
(
response
.
intval
);
*
wire
=
be32_to_cpu
(
response
.
intval
);
}
static
void
dlm_query_join_wire_to_packet
(
u32
wire
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment