As this is an atomic region, keep it as short as possible.
or = map_dblock(ob1);
or[ent] = last;
+ unmap_dblock(ob1, or);
bbl->orphan_slot = b->orphan_slot;
putdref(bbl, MKREF(orphan_blk));
lafs_dirty_dblock(ob1);
lafs_dirty_dblock(ob2);
clear_bit(B_PinPending, &ob1->b.flags);
clear_bit(B_PinPending, &ob2->b.flags);
- unmap_dblock(ob1, or);
/* The orphan reference on ob2 has moved to ob1
* and ob2 is now a 'reservation' reference.