From: Denis V. Lunev Date: Fri, 2 May 2008 11:12:41 +0000 (-0700) Subject: netns: assign PDE->data before gluing entry into /proc tree X-Git-Tag: v2.6.26-rc1~5^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78e92b99ec4eb73755abd4e357b0b211eadafd88;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed