]> err.no Git - linux-2.6/commit
[APPLETALK]: Use proc_create() to setup ->proc_fops first
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 28 Feb 2008 20:53:32 +0000 (12:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2008 20:53:32 +0000 (12:53 -0800)
commited2b5b474e853fe2f9a9988f2871051291779d90
tree9b96f80c2bc9f86d8ff77b86e420e2d852fdca25
parent4d9d2cb026c756318965e2d9874d4695d9ebd4f6
[APPLETALK]: Use proc_create() to setup ->proc_fops first

As Davem mentioned in his recently patch
(d9595a7b9c777d45a74774f1428c263a0a47f4c0)
that the procfs visibility should occur after
the ->proc_fops are setup.

And also, Alexey provide proc_create() to make
sure that ->proc_fops is setup before gluing PDE
to main tree.

We use proc_create().

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/appletalk/atalk_proc.c