} else
offset = 0;
+ dprintk("Index contains:\n");
+ if (lafs_trace) {
+ struct block *b;
+
+ print_index(buf, ib->b.fileaddr, blocksize - offset);
+ printk("uninc list:\n");
+ for (b = uninc; b ; b=b->chain)
+ printk(" %lu: %llu\n",
+ (unsigned long) b->fileaddr,
+ (unsigned long long) b->physaddr);
+ }
+
/* internal index block. Might be able to merge in-place */
if (*(u16 *)(buf) == cpu_to_le16(IBLK_INDEX) &&
(cred = incorporate_index(uninc, buf+2,
uit.credits = cred;
goto out;
}
-
- dprintk("Index contains:\n");
- if (lafs_trace)
- print_index(buf, ib->b.fileaddr, blocksize - offset);
- /* FIXME trace the contents of the uninc list */
-
unmap_iblock(ib, buf-offset);
}