lkml.org 
[lkml]   [2001]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] blkgetsize64 ioctl
From
   From: Ben LaHaise <bcrl@redhat.com>
Date: Wed, 29 Aug 2001 18:45:20 -0400 (EDT)

The patch below reserves an ioctl for getting the size in blocks of a
device as a long long instead of long as the old ioctl did. The patch for
this to e2fsprogs sneaked in a bit too early. There is a conflict with
the ia64 get/set sector ioctls, but I that's less common than e2fsprogs.

Any problems with using "u64" or some other more strictly portable
type? "long long" and other non-fixed sized types cause grief for
many dual-API platforms.

Later,
David S. Miller
davem@redhat.com
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:01    [W:0.062 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site