[WANROUTER]: Use proc_create() to setup ->proc_fops first
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 28 Feb 2008 22:15:56 +0000 (14:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2008 22:15:56 +0000 (14:15 -0800)
commit6d37a1581695fba42f4b51e3ff4c2871552cd6d7
tree0532aaeb3898a00f6db9f621481e83a120796a07
parentd45fba3625249fada590a2eea09c38e755a3a2a7
[WANROUTER]: 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/wanrouter/wanproc.c