putref(b, MKREF(leaf));
}
- if (test_bit(B_Pinned, &LAFSI(fs->ss[0].root)->iblock->b.flags) &&
- !!test_bit(B_Phase1, &LAFSI(fs->ss[0].root)->iblock->b.flags)
- != fs->phase) {
+ if ((test_bit(B_Pinned, &LAFSI(fs->ss[0].root)->iblock->b.flags) &&
+ !!test_bit(B_Phase1, &LAFSI(fs->ss[0].root)->iblock->b.flags)
+ != fs->phase)
+ ||
+ (test_bit(B_Pinned, &LAFSI(fs->ss[0].root)->dblock->b.flags) &&
+ !!test_bit(B_Phase1, &LAFSI(fs->ss[0].root)->dblock->b.flags)
+ != fs->phase)) {
if (loops == 20) {
printk("Cannot escape PHASE=%d\n", oldphase);
lafs_print_tree(&LAFSI(fs->ss[0].root)->dblock->b, 0);