[PATCH, TRIVIAL] Fix argument of BLKGETSIZE64

From: Peter Chubb (peter@chubb.wattle.id.au)
Date: Wed Jun 12 2002 - 00:02:00 EST


(2.5.21) The third argument to BLKGETSIZE64 is declared as u64 in
include/linux/fs.h

I think it should be uint64_t to allow glibc to copy and mangle the file into
its header tree.

===== include/linux/fs.h 1.112 vs edited =====
--- 1.112/include/linux/fs.h Wed Jun 12 10:16:52 2002
+++ edited/include/linux/fs.h Wed Jun 12 14:30:36 2002
@@ -196,7 +196,7 @@
 /* A jump here: 108-111 have been used for various private purposes. */
 #define BLKBSZGET _IOR(0x12,112,sizeof(int))
 #define BLKBSZSET _IOW(0x12,113,sizeof(int))
-#define BLKGETSIZE64 _IOR(0x12,114,sizeof(u64)) /* return device size in b
ytes (u64 *arg) */
+#define BLKGETSIZE64 _IOR(0x12,114,sizeof(uint64_t)) /* return device size in b
ytes (u64 *arg) */
 
 #define BMAP_IOCTL 1 /* obsolete - kept for compatibility */
 #define FIBMAP _IO(0x00,1) /* bmap access */
-
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/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:24 EST