[NETNS]: Compile NET /proc support only if CONFIG_NET is set.
authorDenis V. Lunev <den@openvz.org>
Thu, 27 Mar 2008 21:25:53 +0000 (14:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Mar 2008 21:25:53 +0000 (14:25 -0700)
commit0e5f8be1388093edc324a78ebf241170b258eba3
tree1b5491f78edba6bc3d463e4190deff22f10dff74
parent5983a3dff0036d7ef6a2139473564f4f3e7b2a11
[NETNS]: Compile NET /proc support only if CONFIG_NET is set.

This fix broken compilation for 'allnoconfig'. This was introduced by
Introduced by commit 1218854afa6f659be90b748cf1bc7badee954a35 ("[NET]
NETNS: Omit seq_net_private->net without CONFIG_NET_NS.")

Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/proc/proc_net.c
include/linux/seq_file.h