[SCTP]: Use proc_create() to setup ->proc_fops first
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 28 Feb 2008 22:13:16 +0000 (14:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2008 22:13:16 +0000 (14:13 -0800)
commit160f17e345f5b50484d6cdc985b8686a05bf015d
tree3e455929c0b53b90ed08f123147ed52aa115c5bf
parent25296d599ccc7e06af217329729e4d7154fa79a2
[SCTP]: 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/sctp/objcnt.c
net/sctp/proc.c