summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7b5c648)
Previous commit that fixed up the preadv2/pwritev2 wrappers
left some debug #warning in there by accident. Kill them.
Fixes:
7b5c648f6a5c ("Fix wrap issue with 64-bit pwritev2/preadv2")
Signed-off-by: Jens Axboe <axboe@fb.com>
off_t offset)
{
#if BITS_PER_LONG == 64
off_t offset)
{
#if BITS_PER_LONG == 64
*pos_l = offset;
*pos_h = 0;
#else
*pos_l = offset;
*pos_h = 0;
#else
*pos_l = offset & 0xffffffff;
*pos_h = ((uint64_t) offset) >> 32;
#endif
*pos_l = offset & 0xffffffff;
*pos_h = ((uint64_t) offset) >> 32;
#endif