SOURCES: ext2resize-BLKGETSIZE64.patch (NEW) - fixed a bug in the ...

Jakub Bogusz qboosh at pld-linux.org
Thu Feb 10 15:37:16 CET 2005


On Thu, Feb 10, 2005 at 03:28:19PM +0100, darekr wrote:
> Author: darekr                       Date: Thu Feb 10 14:28:19 2005 GMT
> Module: SOURCES                       Tag: HEAD
> ---- Log message:
> - fixed a bug in the definition of BLKGETSIZE64, now it works.

> + #ifndef BLKGETSIZE64
> +-#define BLKGETSIZE64 _IOR(0x12,114,sizeof(unsigned long long))
> ++#define BLKGETSIZE64 _IOR(0x12,114,unsigned long long)
> + #endif

Wrong. Type must remain "size_t" for bug-compatibility with kernel.


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/




More information about the pld-devel-en mailing list