[JFFS2] Remove support for virtual blocks
Remove support for virtual blocks, which are build by concatenation of multiple physical erase blocks. For more information please read the MTD mailing list thread "[PATCH] remove support for virtual blocks" Signed-off-by: Ferenc Havasi <havasi@inf.u-szeged.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:

committad av
Thomas Gleixner

förälder
f0507530cb
incheckning
4ce1f56218
@@ -7,7 +7,7 @@
|
||||
*
|
||||
* For licensing information, see the file 'LICENCE' in this directory.
|
||||
*
|
||||
* $Id: super.c,v 1.107 2005/07/12 16:37:08 dedekind Exp $
|
||||
* $Id: super.c,v 1.108 2005/08/31 13:51:00 havasi Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -284,7 +284,7 @@ static void jffs2_put_super (struct super_block *sb)
|
||||
up(&c->alloc_sem);
|
||||
jffs2_free_ino_caches(c);
|
||||
jffs2_free_raw_node_refs(c);
|
||||
if (c->mtd->flags & MTD_NO_VIRTBLOCKS)
|
||||
if (jffs2_blocks_use_vmalloc(c))
|
||||
vfree(c->blocks);
|
||||
else
|
||||
kfree(c->blocks);
|
||||
|
Referens i nytt ärende
Block a user