From: Stephen Rothwell Date: Wed, 3 Dec 2008 02:49:23 +0000 (+1100) Subject: cifs: update for new IP4/6 address printing X-Git-Tag: MMI-PSA29.97-13-9~30469 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bf66542bef3771a42ad3b1d5dc503c804bc22b33;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git cifs: update for new IP4/6 address printing Signed-off-by: Stephen Rothwell Signed-off-by: Linus Torvalds --- diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 974c8f0e615e..0005a194a75c 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -361,12 +361,12 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m) switch (server->addr.sockAddr6. sin6_family) { case AF_INET6: - seq_printf(s, NIP6_FMT, - NIP6(server->addr.sockAddr6.sin6_addr)); + seq_printf(s, "%pI6", + &server->addr.sockAddr6.sin6_addr); break; case AF_INET: - seq_printf(s, NIPQUAD_FMT, - NIPQUAD(server->addr.sockAddr.sin_addr.s_addr)); + seq_printf(s, "%pI4", + &server->addr.sockAddr.sin_addr.s_addr); break; } }