[SUNRPC]: Use proc_create() to setup ->proc_fops first
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 28 Feb 2008 22:00:59 +0000 (14:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2008 22:00:59 +0000 (14:00 -0800)
commit2ce8f047d5f3c0d782838bd2ecb6e4c440268e6d
tree8c8f667f23e194e31dd9b82acaf5e3c0aa4238f1
parent64758bd7927be1f755e7a08edb2253d37e4b2445
[SUNRPC]: 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/sunrpc/cache.c
net/sunrpc/stats.c