net: copy socket ioctl code to net/socket.h
authorArnd Bergmann <arnd@arndb.de>
Sat, 7 Nov 2009 07:00:29 +0000 (23:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 07:00:29 +0000 (23:00 -0800)
commit7a229387d317df525ebd19e146493db7f2694b8b
treebb3c730da54ca7bdc5f731a96eeb1caf17a5801b
parent9646e7ce3d1955478aa0573b36c151ab4b649486
net: copy socket ioctl code to net/socket.h

This makes an identical copy of the socket compat_ioctl code
from fs/compat_ioctl.c to net/socket.c, as a preparation
for moving the functionality in a way that can be easily
reviewed.

The code is hidden inside of #if 0 and gets activated in the
patch that will make it work.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/socket.c