[IPV4]: Use proc_create() to setup ->proc_fops first
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 28 Feb 2008 22:14:25 +0000 (14:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2008 22:14:25 +0000 (14:14 -0800)
commit770207208e4374f013f6f49233d5c8c8df505e03
tree542a5b947a56f0f8375c88f19e5f60a9a5cd78a8
parent4436f4cbfac15acea139863e322ed2f9efb118d3
[IPV4]: 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/ipv4/route.c