From: Daniel Lezcano <dlezcano@fr.ibm.com>
To: Pavel Emelyanov <xemul@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
Linux Netdev List <netdev@vger.kernel.org>
Subject: Re: [PATCH] Rename struct net to struct netns
Date: Mon, 17 Sep 2007 16:59:26 +0200 [thread overview]
Message-ID: <46EE964E.7050901@fr.ibm.com> (raw)
In-Reply-To: <46EE932F.2030206@openvz.org>
Pavel Emelyanov wrote:
> The name struct net is too generic. There already were
> some people who wanted to have some better name (for
> easier grep for example). I propose the struct netns one.
>
> The patch is (already) huge (sorry), but it's nothing but
> sed -e s/struct net\>/struct netns/g
>
> If this name is bad as well, let's select a new one
> before the struct net floods the kernel.
[ SNIP ]
> --- a/include/linux/nsproxy.h
> +++ b/include/linux/nsproxy.h
> @@ -29,7 +29,7 @@ struct nsproxy {
> struct mnt_namespace *mnt_ns;
> struct pid_namespace *pid_ns;
> struct user_namespace *user_ns;
> - struct net *net_ns;
> + struct netns *net_ns;
IMHO, if we want to be consistent with all the rest of the namespaces,
that should be net_namespace.
[ SNIP ]
next prev parent reply other threads:[~2007-09-17 15:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-17 14:46 [PATCH] Rename struct net to struct netns Pavel Emelyanov
2007-09-17 14:59 ` Daniel Lezcano [this message]
2007-09-17 15:40 ` Benjamin Thery
2007-09-17 16:42 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46EE964E.7050901@fr.ibm.com \
--to=dlezcano@fr.ibm.com \
--cc=ebiederm@xmission.com \
--cc=netdev@vger.kernel.org \
--cc=xemul@openvz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).