mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
cifs: update for new IP4/6 address printing
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
d05a788f22
commit
bf66542bef
1 changed files with 4 additions and 4 deletions
|
@ -361,12 +361,12 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m)
|
||||||
switch (server->addr.sockAddr6.
|
switch (server->addr.sockAddr6.
|
||||||
sin6_family) {
|
sin6_family) {
|
||||||
case AF_INET6:
|
case AF_INET6:
|
||||||
seq_printf(s, NIP6_FMT,
|
seq_printf(s, "%pI6",
|
||||||
NIP6(server->addr.sockAddr6.sin6_addr));
|
&server->addr.sockAddr6.sin6_addr);
|
||||||
break;
|
break;
|
||||||
case AF_INET:
|
case AF_INET:
|
||||||
seq_printf(s, NIPQUAD_FMT,
|
seq_printf(s, "%pI4",
|
||||||
NIPQUAD(server->addr.sockAddr.sin_addr.s_addr));
|
&server->addr.sockAddr.sin_addr.s_addr);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue