lkml.org 
[lkml]   [2001]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [resend PATCH] reserve BLKGETSIZE64 ioctl
At 16:21 03/09/01, Ben LaHaise wrote:
>Is there any problem with the patch below for reserving a 64 bit get block
>device size ioctl?

Aren't you making a define and then redefining the same define on the next
line? Perhaps you meant to write "#define BLKBSZGET64 ..."?

Anton

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

--
"Nothing succeeds like success." - Alexandre Dumas
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

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

\
 
 \ /
  Last update: 2005-03-22 13:01    [W:0.036 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site