From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-15?Q?Luk=E1=A8_Czerner?= Subject: Re: [PATCH v2 6/8] fsstress: translate flags in fiemap_f Date: Thu, 6 Mar 2014 19:02:16 +0100 (CET) Message-ID: References: <1394034699-21187-1-git-send-email-lczerner@redhat.com> <1394034699-21187-7-git-send-email-lczerner@redhat.com> <20140306174813.GE28297@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, xfs@oss.sgi.com To: Christoph Hellwig Return-path: In-Reply-To: <20140306174813.GE28297@infradead.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com List-Id: linux-ext4.vger.kernel.org On Thu, 6 Mar 2014, Christoph Hellwig wrote: > Date: Thu, 6 Mar 2014 09:48:13 -0800 > From: Christoph Hellwig > To: Lukas Czerner > Cc: linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, xfs@oss.sgi.com > Subject: Re: [PATCH v2 6/8] fsstress: translate flags in fiemap_f > > > +#ifdef HAVE_LINUX_FIEMAP_H > > +struct print_flags fiemap_flags[] = { > > + { FIEMAP_FLAG_SYNC, "SYNC"}, > > + { FIEMAP_FLAG_XATTR, "XATTR"}, > > + { -1, NULL} > > +}; > > Can be static. Right. The same applies to falloc_flags > > > + > > +#define translate_fiemap_flags(mode) \ > > + ({translate_flags(mode, "|", fiemap_flags);}) > > +#endif > > Any reason to not have these two inside fiemap_f? Not really, other than I think it's ugly. > > Otherwise: > > Reviewed-by: Christoph Hellwig Thanks! -Lukas > -- > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs