public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH, TRIVIAL] Fix argument of BLKGETSIZE64
@ 2002-06-12  5:02 Peter Chubb
  2002-06-12  5:41 ` Rusty Russell
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Chubb @ 2002-06-12  5:02 UTC (permalink / raw)
  To: linux-kernel, trivial


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-06-12 20:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-12  5:02 [PATCH, TRIVIAL] Fix argument of BLKGETSIZE64 Peter Chubb
2002-06-12  5:41 ` Rusty Russell
2002-06-12 11:06   ` Peter Chubb
2002-06-12 13:22     ` Andreas Schwab
2002-06-12 13:47     ` David Woodhouse
2002-06-12 20:19       ` Peter Chubb
2002-06-12 20:45         ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox