From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [RFC 5/13] extents and 48bit ext3: sector_t type format string Date: Thu, 8 Jun 2006 19:45:20 -0700 Message-ID: <20060608194520.c7de1ee4.akpm@osdl.org> References: <1149816130.4066.67.camel@dyn9047017069.beaverton.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org, ext2-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Return-path: To: cmm@us.ibm.com In-Reply-To: <1149816130.4066.67.camel@dyn9047017069.beaverton.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ext2-devel-bounces@lists.sourceforge.net Errors-To: ext2-devel-bounces@lists.sourceforge.net List-Id: linux-fsdevel.vger.kernel.org On Thu, 08 Jun 2006 18:22:09 -0700 Mingming Cao wrote: > > > Define SECTOR_FMT to print sector_t in proper format > > ... > > #define HAVE_SECTOR_T > typedef u64 sector_t; > +#define SECTOR_FMT "%llu" We did try this a few years ago, but I cannot for the life of me remember our reasons for abandoning it :( We ended up deciding that the best way of handling this is to open-code the %lld and to typecast the argument to long long.