aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jffs2/super.c
diff options
context:
space:
mode:
authorFerenc Havasi <havasi@inf.u-szeged.hu>2005-08-31 09:51:04 -0400
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-11-06 15:08:27 -0500
commit4ce1f562189696605a84813cf71847c0cc698414 (patch)
tree1ec543b00db38f5ae8db38f0f881db11ebb5d010 /fs/jffs2/super.c
parentf0507530cbedf37515e0d803c332cdb81b34e71a (diff)
[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>
Diffstat (limited to 'fs/jffs2/super.c')
-rw-r--r--fs/jffs2/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c
index aaf9475cfb6a..58496a03a1d2 100644
--- a/fs/jffs2/super.c
+++ b/fs/jffs2/super.c
@@ -7,7 +7,7 @@
7 * 7 *
8 * For licensing information, see the file 'LICENCE' in this directory. 8 * For licensing information, see the file 'LICENCE' in this directory.
9 * 9 *
10 * $Id: super.c,v 1.107 2005/07/12 16:37:08 dedekind Exp $ 10 * $Id: super.c,v 1.108 2005/08/31 13:51:00 havasi Exp $
11 * 11 *
12 */ 12 */
13 13
@@ -284,7 +284,7 @@ static void jffs2_put_super (struct super_block *sb)
284 up(&c->alloc_sem); 284 up(&c->alloc_sem);
285 jffs2_free_ino_caches(c); 285 jffs2_free_ino_caches(c);
286 jffs2_free_raw_node_refs(c); 286 jffs2_free_raw_node_refs(c);
287 if (c->mtd->flags & MTD_NO_VIRTBLOCKS) 287 if (jffs2_blocks_use_vmalloc(c))
288 vfree(c->blocks); 288 vfree(c->blocks);
289 else 289 else
290 kfree(c->blocks); 290 kfree(c->blocks);