lkml.org 
[lkml]   [2008]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 12/12] netns: assign PDE->data before gluing entry into /proc tree
From
From: "Denis V. Lunev" <den@openvz.org>
Date: Tue, 29 Apr 2008 15:13:22 +0400

> 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>

Oh well, the cost of correctness sometimes :-)

Applied, thanks.


\
 
 \ /
  Last update: 2008-05-02 13:15    [W:0.203 / U:0.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site