Re: [PATCH 3/8] omfs: add inode routines

From: Miklos Szeredi
Date: Mon Apr 21 2008 - 11:13:58 EST


> + start = clus_to_blk(sbi, be64_to_cpu(omfs_sb->s_root_block));
> + bh2 = sb_bread(sb, start);
> + if (!bh2)
> + goto out_bh;
> +
> + omfs_rb = (struct omfs_root_block *)bh2->b_data;
> +
> + sbi->s_bitmap_ino = be64_to_cpu(omfs_rb->r_bitmap);
> + sbi->s_clustersize = be32_to_cpu(omfs_rb->r_clustersize);
> +
> + if (sbi->s_num_blocks != be64_to_cpu(omfs_rb->r_num_blocks)) {
> + printk(KERN_ERR "omfs: block count discrepancy between "
> + "super and root blocks (%llx, %llx)\n",
> + sbi->s_num_blocks, be64_to_cpu(omfs_rb->r_num_blocks));
> + goto out_bh;

Jump to wrong label.

Also label names are a bit chaotic. But that's a matter of taste...

Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/