Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=20722 Fix watchdog timer messages to be more clear.
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
linux
/
linux-tcpip.c
diff --git
a/libcfs/libcfs/linux/linux-tcpip.c
b/libcfs/libcfs/linux/linux-tcpip.c
index
a461037
..
0ac56c6
100644
(file)
--- a/
libcfs/libcfs/linux/linux-tcpip.c
+++ b/
libcfs/libcfs/linux/linux-tcpip.c
@@
-63,7
+63,11
@@
libcfs_sock_ioctl(int cmd, unsigned long arg)
return rc;
}
+#ifdef HAVE_SOCK_MAP_FD_2ARG
+ fd = sock_map_fd(sock,0);
+#else
fd = sock_map_fd(sock);
+#endif
if (fd < 0) {
rc = fd;
sock_release(sock);