Re: [PATCH 12/12] netns: assign PDE->data before gluing entry into/proc tree

From: David Miller
Date: Fri May 02 2008 - 07:13:20 EST


From: "Denis V. Lunev" <den@xxxxxxxxxx>
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@xxxxxxxxxx>

Oh well, the cost of correctness sometimes :-)

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/