staging/lustre/libcfs: revert changes to libcfs_sock_ioctl
authorOleg Drokin <green@linuxhacker.ru>
Mon, 23 Jun 2014 01:32:05 +0000 (21:32 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:45:05 +0000 (20:45 -0400)
commit3eeb821eff089e0f26f016a09ea1ee011fba3b4f
tree890b90dbf6235fbc0ffe0ef337b1a52d7ce22809
parent1cd683a814bb8ec342a0b254584e4bc0f2041adc
staging/lustre/libcfs: revert changes to libcfs_sock_ioctl

Changes introduced by 80db2734acbc78db12798cfb611d6acc7fe389e6
unfortunately totally break lustre, we use this function
to access not only socket proto obs, but also device ioctl
like SIOCGIFCONF that now fail.
Reverting part of the previous patch to regain the needed
functionality.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
CC: Fredrick John Berchmans <fredrickprashanth@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/linux/linux-tcpip.c