[LWN Logo]
[LWN.net]
From:	 Ben LaHaise <bcrl@redhat.com>
To:	 <torvalds@transmeta.com>
Subject: [resend PATCH] reserve BLKGETSIZE64 ioctl
Date:	 Mon, 3 Sep 2001 11:21:39 -0400 (EDT)
Cc:	 <linux-kernel@vger.kernel.org>

Hello,

Is there any problem with the patch below for reserving a 64 bit get block
device size ioctl?

		-ben

diff -urN v2.4.10-pre4/include/linux/fs.h work/include/linux/fs.h
--- v2.4.10-pre4/include/linux/fs.h	Mon Sep  3 11:04:39 2001
+++ work/include/linux/fs.h	Mon Sep  3 11:18:44 2001
@@ -182,7 +182,8 @@
 /* This was here just to show that the number is taken -
    probably all these _IO(0x12,*) ioctls should be moved to blkpg.h. */
 #endif
-/* A jump here: 108-111 have been used for various private purposes. */
+/* A jump here: 108,109,111 have been used for various private purposes. */
+#define BLKBSZGET  _IOR(0x12,110,sizeof(u64))
 #define BLKBSZGET  _IOR(0x12,112,sizeof(int))
 #define BLKBSZSET  _IOW(0x12,113,sizeof(int))


-
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/