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:
d05a788
)
cifs: update for new IP4/6 address printing
author
Stephen Rothwell
<
[email protected]
>
Wed, 3 Dec 2008 02:49:23 +0000
(13:49 +1100)
committer
Linus Torvalds
<
[email protected]
>
Mon, 29 Dec 2008 00:29:58 +0000
(16:29 -0800)
Signed-off-by: Stephen Rothwell <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/cifs/cifsfs.c
patch
|
blob
|
history
diff --git
a/fs/cifs/cifsfs.c
b/fs/cifs/cifsfs.c
index 974c8f0e615eb1fa9d0dfffba6fb0feb7dd18fae..0005a194a75cd44e12a4226896c2209da42fb05b 100644
(file)
--- 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;
}
}