do
lafs_incorporate(fs, ib2);
while (ib2->uninc_table.pending_cnt || ib2->uninc);
- lafs_iounlock_block(&ib2->b, 0);
+ /* FIXME should I just cluster_allocate and let
+ * it figure things out ??
+ */
+ if (test_bit(B_Dirty, &ib2->b.flags) ||
+ test_bit(B_Realloc, &ib2->b.flags))
+ lafs_cluster_allocate(&ib2->b, 0);
+ else
+ lafs_iounlock_block(&ib2->b, 0);
+
putiref(ib2, MKREF(inode_handle_orphan2));
printk(".");
if (!list_empty(&ib2->b.siblings)) {