projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
522dba7
)
fs/ocfs2/cluster/tcp.c: remove use of NIPQUAD, use %pI4
author
Joe Perches
<
[email protected]
>
Wed, 10 Mar 2010 23:20:32 +0000
(15:20 -0800)
committer
Linus Torvalds
<
[email protected]
>
Fri, 12 Mar 2010 23:52:27 +0000
(15:52 -0800)
Signed-off-by: Joe Perches <
[email protected]
>
Cc: Mark Fasheh <
[email protected]
>
Acked-by: Joel Becker <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/ocfs2/cluster/tcp.c
patch
|
blob
|
history
diff --git
a/fs/ocfs2/cluster/tcp.c
b/fs/ocfs2/cluster/tcp.c
index d8d0c65ac03cc98feaefdd8a9df941613b482837..73e743eea2c83ae3ca6553f261fc9d2da1a5ad03 100644
(file)
--- a/
fs/ocfs2/cluster/tcp.c
+++ b/
fs/ocfs2/cluster/tcp.c
@@
-72,9
+72,9
@@
#include "tcp_internal.h"
-#define SC_NODEF_FMT "node %s (num %u) at %
u.%u.%u.%u
:%u"
+#define SC_NODEF_FMT "node %s (num %u) at %
pI4
:%u"
#define SC_NODEF_ARGS(sc) sc->sc_node->nd_name, sc->sc_node->nd_num, \
-
NIPQUAD(sc->sc_node->nd_ipv4_address),
\
+
&sc->sc_node->nd_ipv4_address,
\
ntohs(sc->sc_node->nd_ipv4_port)
/*