[8021Q]: Use proc_create() to setup ->proc_fops first
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 28 Feb 2008 22:14:58 +0000 (14:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2008 22:14:58 +0000 (14:14 -0800)
commitd45fba3625249fada590a2eea09c38e755a3a2a7
tree0663813ee1b56adc585feb78d0b8124679d58568
parent770207208e4374f013f6f49233d5c8c8df505e03
[8021Q]: 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/8021q/vlanproc.c