Messages in this thread Patch in this message | | | From | Peter Chubb <> | Date | Wed, 12 Jun 2002 15:02:00 +1000 | Subject | [PATCH, TRIVIAL] Fix argument of BLKGETSIZE64 |
| |
(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/
| |