From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Lezcano Subject: Re: sysfs : fix kobject rename with multiple namespaces Date: Mon, 05 May 2008 19:05:57 +0200 Message-ID: <481F3E75.5030806@fr.ibm.com> References: <481E43FF.9070905@fr.ibm.com> <20080505165614.GA14956@sergelap.austin.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080505165614.GA14956-6s5zFf/epYLPQpwDFJZrxKsjOiXwFzmk@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: "Serge E. Hallyn" Cc: Linux Containers , "Eric W. Biederman" , Benjamin Thery List-Id: containers.vger.kernel.org Serge E. Hallyn wrote: > The patch looks good to me, except I'd really rename this to > 'sysfs_tag_eq'. Calling it 'cmp', returning 't1!=t2', then checking for > !sysfs_tag_cmp really increases the amount of thinking i have to do to > make sure everything is koshepillager :) > > Maybe it's just me. I just wanted to have sysfs_tag_cmp returning zero when sysfs is disabled in order to be consistent with other functions. But if that hurts, I can change that to something more mindless. Thanks for looking at the patch. -- Daniel