Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts: drivers/mtd/Kconfig Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
@@ -670,6 +670,13 @@ static int jffs2_flash_setup(struct jffs2_sb_info *c) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* and an UBI volume */
|
||||
if (jffs2_ubivol(c)) {
|
||||
ret = jffs2_ubivol_setup(c);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -688,4 +695,9 @@ void jffs2_flash_cleanup(struct jffs2_sb_info *c) {
|
||||
if (jffs2_nor_wbuf_flash(c)) {
|
||||
jffs2_nor_wbuf_flash_cleanup(c);
|
||||
}
|
||||
|
||||
/* and an UBI volume */
|
||||
if (jffs2_ubivol(c)) {
|
||||
jffs2_ubivol_cleanup(c);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user