Project

General

Profile

Bug #2341 ยป hammer_mvol_01.patch

dillon, 03/30/2012 10:18 AM

View differences:

sys/vfs/hammer/hammer_io.c
hammer_off_t io2_offset;
io1_offset = ((io1->offset & HAMMER_OFF_SHORT_MASK) << 8) |
HAMMER_VOL_DECODE(io1->offset);
io1->volume->vol_no;
io2_offset = ((io2->offset & HAMMER_OFF_SHORT_MASK) << 8) |
HAMMER_VOL_DECODE(io2->offset);
io2->volume->vol_no;
if (io1_offset < io2_offset)
return(-1);
    (1-1/1)