From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756800Ab3GDOvp (ORCPT ); Thu, 4 Jul 2013 10:51:45 -0400 Received: from g5t0006.atlanta.hp.com ([15.192.0.43]:36159 "EHLO g5t0006.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756590Ab3GDOvn (ORCPT ); Thu, 4 Jul 2013 10:51:43 -0400 Message-ID: <51D58BF1.1050202@hp.com> Date: Thu, 04 Jul 2013 10:51:29 -0400 From: Waiman Long User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130109 Thunderbird/10.0.12 MIME-Version: 1.0 To: Al Viro CC: Linus Torvalds , Jeff Layton , Miklos Szeredi , Ingo Molnar , Thomas Gleixner , Ian Kent , autofs mailing list , linux-fsdevel , Linux Kernel Mailing List , Peter Zijlstra , Steven Rostedt , Benjamin Herrenschmidt , Andi Kleen , "Chandramouleeswaran, Aswin" , "Norton, Scott J" Subject: Re: [PATCH v4 04/12] auto-fs: rename d_count field of dentry to d_refcount References: <1372908808-33304-1-git-send-email-Waiman.Long@hp.com> <20130704045956.GO4165@ZenIV.linux.org.uk> In-Reply-To: <20130704045956.GO4165@ZenIV.linux.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/04/2013 12:59 AM, Al Viro wrote: > On Wed, Jul 03, 2013 at 08:50:07PM -0700, Linus Torvalds wrote: >> On Wed, Jul 3, 2013 at 8:33 PM, Waiman Long wrote: >>> Because of the d_count name change made in dcache.h, all references >>> to d_count have to be changed to d_refcount. There is no change in >>> logic and everything should just work. >> These filesystem patches need to be just joined into the same patch >> that does the d_count -> d_refcount change. >> >> Otherwise the kernel won't build in lots of configurations for some >> commits, which makes things like bisecting much more painful than it >> should be. >> >> So we can't do piece-meal changes that break the build for parts of the tree. > Frankly, my preference here would be to add static inline unsigned d_count(...) > and convert the uses of ->d_count outside of fs/{dcache.c,namei.c} and > include/linux/dcache.c to it as the first commit. All users outside those > are readers, so there's no point playing with macros in this case... Yes, I could do that. Regards, Longman