Messages in this thread | | | Date | Wed, 29 Aug 2001 17:03:15 -0700 (PDT) | Subject | Re: [PATCH] blkgetsize64 ioctl | From | "David S. Miller" <> |
| |
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/
| |