Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 41949
Collapse All | Expand All

(-)a/reiserfsprogs/lib/misc.c (-1 / +7 lines)
Lines 462-468 Link Here
462
}
462
}
463
463
464
#if defined(__linux__) && defined(_IOR) && !defined(BLKGETSIZE64)
464
#if defined(__linux__) && defined(_IOR) && !defined(BLKGETSIZE64)
465
#   define BLKGETSIZE64 _IOR(0x12, 114, __u64)
465
/* Note! Despite this call being called with *64, it must be encoded to
466
 * return only sizeof(size_t), since in earlier kernel versions it was
467
 * declared _IOR(0x12, 114, sizeof(u64)), making it use sizeof(sizeof(u64)).
468
 *
469
 * However, the call itself does always return 64bit!
470
 */
471
#   define BLKGETSIZE64 _IOR(0x12, 114, size_t)
466
#endif
472
#endif
467
473
468
/* To not have problem with last sectors on the block device when switching 
474
/* To not have problem with last sectors on the block device when switching 

Return to bug 41949