commit | 5efdccbcda20d3e5fbaa85f726dcc9cfeb005577 | [log] [tgz] |
---|---|---|
author | Denis V. Lunev <den@openvz.org> | Fri May 02 02:46:22 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri May 02 02:46:22 2008 -0700 |
tree | 7b61603bf422064b69586853093af194009bd231 | |
parent | 6e79d85d9a6b7a149dd3666b079c96cfbf57fdb8 [diff] |
net: assign PDE->data before gluing PDE into /proc tree Simply replace proc_create and further data assigned with proc_create_data. Additionally, there is no need to assign NULL to PDE->data after creation, /proc generic has already done this for us. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>