[IPV6]: Use proc_create() to setup ->proc_fops first
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 28 Feb 2008 22:13:46 +0000 (14:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2008 22:13:46 +0000 (14:13 -0800)
commit4436f4cbfac15acea139863e322ed2f9efb118d3
tree89be855725f3120513bb0ed74a9608a1ab3b5ed1
parent160f17e345f5b50484d6cdc985b8686a05bf015d
[IPV6]: Use proc_create() to setup ->proc_fops first

Use proc_create() to make sure that ->proc_fops be setup before gluing
PDE to main tree.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/proc.c