Commit 9cc957f2 authored by mincheol's avatar mincheol
Browse files

sb

parent 571e8da8
......@@ -130,7 +130,7 @@ static int extractmd_ioctl(struct inode *inode, struct file *f, struct extractmd
/* sparse super block v2? */
if((sbi->s_es->s_feature_compat & 0x200) == 1)
if((sbi->s_es->s_feature_compat & 0x200))
{
struct buffer_head *bh_redundant_sb1;
struct buffer_head *bh_redundant_sb2;
......@@ -147,7 +147,7 @@ static int extractmd_ioctl(struct inode *inode, struct file *f, struct extractmd
unsigned long x,y,z;
struct buffer_head *bh_redundant_sb;
for (x = 1; extractmd_pow(3,x) < nr_group; x++)
for (x = 0; extractmd_pow(3,x) < nr_group; x++)
{
bh_redundant_sb = __bread(bdev, extractmd_group_first_block_no(sb,extractmd_pow(3,x)), EXT4_BLOCK_SIZE(sb));
extractmd_append_file(path_super_block, bh_redundant_sb->b_data, 1024);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment