Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751395AbWJQUfG (ORCPT ); Tue, 17 Oct 2006 16:35:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751246AbWJQUfG (ORCPT ); Tue, 17 Oct 2006 16:35:06 -0400 Received: from filer.fsl.cs.sunysb.edu ([130.245.126.2]:3992 "EHLO filer.fsl.cs.sunysb.edu") by vger.kernel.org with ESMTP id S1751377AbWJQUfC (ORCPT ); Tue, 17 Oct 2006 16:35:02 -0400 Date: Tue, 17 Oct 2006 16:33:39 -0400 From: Josef Sipek To: Jan Engelhardt Cc: Andrew James Wade , Linux Kernel Mailing List , Andrew Morton , Linus Torvalds , hch@infradead.org, Al Viro , linux-fsdevel@vger.kernel.org, Pekka Enberg , ezk@cs.sunysb.edu, mhalcrow@us.ibm.com Subject: Re: [PATCH 1 of 2] fsstack: Introduce fsstack_copy_{attr,inode}_* Message-ID: <20061017203339.GA30847@filer.fsl.cs.sunysb.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1285 Lines: 43 On Tue, Oct 17, 2006 at 12:40:31PM +0200, Jan Engelhardt wrote: > > >To: null@josefsipek.net > > (Superb idea to prekill any Cc, re-adding them) Yeah, I like to test the emails but I accidentally sent them. From now on, no testing :) > >+void __fsstack_copy_attr_all(struct inode *dest, > >+ const struct inode *src, > >+ int (*get_nlinks)(struct inode *)) > >+{ > >[big] > >+} > >+ > >+/* externs for fs/stack.c */ > >+extern void __fsstack_copy_attr_all(struct inode *dest, > >+ const struct inode *src, > >+ int (*get_nlinks)(struct inode *)); > >+ > >+static inline void fsstack_copy_attr_all(struct inode *dest, > >+ const struct inode *src) > >+{ > >+ __fsstack_copy_attr_all(dest, src, NULL); > >+} > > Do we really need this indirection? Can't __fsstack_copy_attr_all be > named fsstack_copy_attr_all instead? I suppose it could. There is no API-breakage to avoid. Josef "Jeff" Sipek. -- Computer Science is no more about computers than astronomy is about telescopes. - Edsger Dijkstra - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/