Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68491
b: refs/heads/master
c: 030f9e1
h: refs/heads/master
i:
  68489: 2e570e5
  68487: 34dad00
v: v3
  • Loading branch information
akpm@linux-foundation.org authored and David Woodhouse committed Jul 23, 2007
1 parent d46a9e4 commit 3eac36b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1050643431c74d29ac972141cb24df1d9aca65cd
refs/heads/master: 030f9e13bec9aaae1def86c23963a1a825ccdab5
8 changes: 3 additions & 5 deletions trunk/drivers/mtd/rfd_ftl.c
Original file line number Diff line number Diff line change
Expand Up @@ -779,10 +779,8 @@ static void rfd_ftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
else {
if (!mtd->erasesize) {
printk(KERN_WARNING PREFIX "please provide block_size");
kfree(part);
return;
}
else
goto out;
} else
part->block_size = mtd->erasesize;
}

Expand All @@ -804,7 +802,7 @@ static void rfd_ftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
if (!add_mtd_blktrans_dev((void*)part))
return;
}

out:
kfree(part);
}

Expand Down

0 comments on commit 3eac36b

Please sign in to comment.