From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Subject: Re: [PATCH 1/2] mqueue ns: move mqueue_mnt into struct ipc_namespace Date: Wed, 17 Dec 2008 10:55:54 -0800 Message-ID: <1229540154.17206.428.camel@nimitz> References: <20081217175513.GA23291@us.ibm.com> <20081217175531.GA23331@us.ibm.com> <1229538964.17206.421.camel@nimitz> <20081217185241.GA25250@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20081217185241.GA25250@us.ibm.com> Sender: linux-kernel-owner@vger.kernel.org To: "Serge E. Hallyn" Cc: Linux Containers , lkml List-Id: containers.vger.kernel.org On Wed, 2008-12-17 at 12:52 -0600, Serge E. Hallyn wrote: > > > +void mq_init_ns(struct ipc_namespace *ns) { > > > + ns->mq_queues_count = 0; > > > + ns->mq_queues_max = DFLT_QUEUESMAX; > > > + ns->mq_msg_max = DFLT_MSGMAX; > > > + ns->mq_msgsize_max = DFLT_MSGSIZEMAX; > > > + ns->mq_mnt = mntget(init_ipc_ns.mq_mnt); > > > +} > > > > Heh, I read that as a structure definition at first! Could you put > that > > bracket on a new line. > > That's actually taken care of in the followup patch - same with > mq_exit_ns. Sorry about that. (Still I'd rather not bother with > the patch flux to change it just in this patch, since whenever > I do that I inevitably mess up something else) Ahh, ok. I guess it is OK since it is temporary. -- Dave