summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-03-10 15:20:32 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-12 15:52:27 -0800
commit03affdef4fc85e416e3862abb0aa549c6034cdd0 (patch)
tree12836f1fd356a1fd6c18a44a31f252c5deea3a66 /fs/ocfs2
parent522dba7134d6b2e5821d3457f7941ec34f668e6d (diff)
downloadtalos-obmc-linux-03affdef4fc85e416e3862abb0aa549c6034cdd0.tar.gz
talos-obmc-linux-03affdef4fc85e416e3862abb0aa549c6034cdd0.zip
fs/ocfs2/cluster/tcp.c: remove use of NIPQUAD, use %pI4
Signed-off-by: Joe Perches <joe@perches.com> Cc: Mark Fasheh <mfasheh@suse.com> Acked-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r--fs/ocfs2/cluster/tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/cluster/tcp.c b/fs/ocfs2/cluster/tcp.c
index d8d0c65ac03c..73e743eea2c8 100644
--- 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)
/*
OpenPOWER on IntegriCloud