[X25]: Use proc_create() to setup ->proc_fops first
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 28 Feb 2008 22:16:33 +0000 (14:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2008 22:16:33 +0000 (14:16 -0800)
commit2335f8ec27e125208d8d2d3e257a82862c4977d6
tree8cb85e6bf5b05ceab9f7ae95ae1c21628114135c
parent6d37a1581695fba42f4b51e3ff4c2871552cd6d7
[X25]: 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/x25/x25_proc.c