vlan: assign PDE->data before gluing PDE into /proc tree
authorDenis V. Lunev <den@openvz.org>
Fri, 2 May 2008 11:09:11 +0000 (04:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2008 11:09:11 +0000 (04:09 -0700)
commit1d3faa390df9f009d7d76134b2aa1f07990945a4
treedf9941f3f636633f46968f35a8fbfa1f030c31c6
parent0c89652a741cce71661d561c4466115c60c752d1
vlan: assign PDE->data before gluing PDE into /proc tree

Simply replace proc_create and further data assigned with proc_create_data.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlanproc.c