commit | 78e92b99ec4eb73755abd4e357b0b211eadafd88 | [log] [tgz] |
---|---|---|
author | Denis V. Lunev <den@openvz.org> | Fri May 02 04:12:41 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri May 02 04:12:41 2008 -0700 |
tree | 8db0049da6d0ce0a968b11fae12f3f91664881dd | |
parent | 8b169240e266d7fc58d9b9077d18d50a548d9732 [diff] |
netns: assign PDE->data before gluing entry into /proc tree In this unfortunate case, proc_mkdir_mode wrapper can't be used anymore and this is no way to reuse proc_create_data due to nlinks assignment. So, copy the code from proc_mkdir and assign PDE->data at the appropriate moment. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>