Re: [RFC 5/13] extents and 48bit ext3: sector_t type format string

Andrew Morton <[email protected]>
Newsgroups gmane.comp.file-systems.ext2.devel,gmane.linux.file-systems,gmane.linux.kernel
Message-ID <[email protected]>
On Thu, 08 Jun 2006 18:22:09 -0700
Mingming Cao <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.