[LLC]: Use proc_create() to setup ->proc_fops first
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 28 Feb 2008 22:08:54 +0000 (14:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2008 22:08:54 +0000 (14:08 -0800)
commit7e0218099832d954d107f48de9e81bd521e16f24
tree57d436b98a42d7eb977a8f6d031de1e2e8ae5100
parent1e15dc981deb39056fa846fe55e1a1dbb175a98e
[LLC]: 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/llc/llc_proc.c