net: move ioctl functions into a separated file
Subsystems (2)
PATCH 1/1 net: move ioctl functions into a separated file
From: Cong Wang <[email protected]>
They well deserve a separated unit.
Cc "David S. Miller" <[email protected]>
Signed-off-by Cong Wang <[email protected]>
--- net/core/Makefile | 2 +- net/core/dev.c | 573 ------------------------------------------------- net/core/dev_ioctl.c | 576 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 577 insertions(+), 574 deletions(-)
net/core/Makefile +1 -1
@@ -9,7 +9,7 @@ obj-$(CONFIG_SYSCTL) += sysctl_net_core.o obj-y += dev.o ethtool.o dev_addr_lists.o dst.o netevent.o \ neighbour.o rtnetlink.o utils.o link_watch.o filter.o \ - sock_diag.o + sock_diag.o dev_ioctl.o obj-$(CONFIG_XFRM) += flow.o obj-y += net-sysfs.o
net/core/dev.c +0 -573
609 lines not on this page · raw message
net/core/dev_ioctl.c new file +576 -0
576 lines not on this page · raw message
From: Cong Wang <[email protected]>
Date: Sat, 16 Feb 2013 16:20:46 +0800
Quoted 6 lines
From: Cong Wang <[email protected]>
They well deserve a separated unit.
Cc "David S. Miller" <[email protected]>Signed-off-by Cong Wang <[email protected]>
Applied.