lkml.org 
[lkml]   [2008]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 3/8] omfs: add inode routines
From
Date
> +	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


\
 
 \ /
  Last update: 2008-04-21 17:17    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site