From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?SsO2cm4=?= Engel Subject: Re: [PATCH 1/2] LogFS proper Date: Tue, 8 May 2007 22:58:27 +0200 Message-ID: <20070508205827.GC23056@lazybastard.org> References: <20070507215913.GA15054@lazybastard.org> <20070507220036.GB15054@lazybastard.org> <1178608950.3042.273.camel@localhost.localdomain> <20070508163226.GA22443@lazybastard.org> <84144f020705081215t73f2c0fq8ecb677423329cd8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Thomas Gleixner , Andrew Morton , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Dave Kleikamp , David Chinner To: Pekka Enberg Return-path: Received: from lazybastard.de ([212.112.238.170]:39834 "EHLO longford.lazybastard.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031630AbXEHVCm (ORCPT ); Tue, 8 May 2007 17:02:42 -0400 Content-Disposition: inline In-Reply-To: <84144f020705081215t73f2c0fq8ecb677423329cd8@mail.gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, 8 May 2007 22:15:18 +0300, Pekka Enberg wrote: > On 5/8/07, J=C3=B6rn Engel wrote: > >> > +typedef __be16 be16; > >> > +typedef __be32 be32; > >> > +typedef __be64 be64; > >> > >> Why are those typedefs necessary ? > > > >Not strictly. I tend to use the be* types fairly often in the code = and > >simply grew weary of seeing the underscores. > > > >Any objections if I seperate out the userspace headers and keep the > >shorthands for kernel code only? >=20 > Not sure what you mean but I would prefer you drop the typedefs compl= etely. Basically I prefer be64 over __be64 for similar reasons that most peopl= e prefer u64 over __u64. Others prefer uint64_t over both, but C99 hasn'= t defined beint64_t yet. Maybe I should secretly patch include/linux/types.h to add these three lines and bribe akpm's evil twin to merge that? It definitely makes more sense to have such a typedef in generic code or not at all. J=C3=B6rn --=20 Audacity augments courage; hesitation, fear. -- Publilius Syrus - 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