Re: [resend PATCH] reserve BLKGETSIZE64 ioctl

From: Andreas Schwab (schwab@suse.de)
Date: Mon Sep 03 2001 - 11:02:38 EST


Ben LaHaise <bcrl@redhat.com> writes:

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

Yes.

|> 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))
            ^^^^^^^^^

Conflicting definitions.

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
-
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 : Fri Sep 07 2001 - 21:00:19 EST