diff options
Diffstat (limited to 'fs/jffs2/fs.c')
-rw-r--r-- | fs/jffs2/fs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c index 934c9f5090c8..a6661e8be25a 100644 --- a/fs/jffs2/fs.c +++ b/fs/jffs2/fs.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: fs.c,v 1.58 2005/07/17 12:01:42 dedekind Exp $ | 10 | * $Id: fs.c,v 1.59 2005/07/18 11:21:19 dedekind Exp $ |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
@@ -517,7 +517,7 @@ int jffs2_do_fill_super(struct super_block *sb, void *data, int silent) | |||
517 | root_i = iget(sb, 1); | 517 | root_i = iget(sb, 1); |
518 | if (is_bad_inode(root_i)) { | 518 | if (is_bad_inode(root_i)) { |
519 | D1(printk(KERN_WARNING "get root inode failed\n")); | 519 | D1(printk(KERN_WARNING "get root inode failed\n")); |
520 | goto out_nodes; | 520 | goto out_root_i; |
521 | } | 521 | } |
522 | 522 | ||
523 | D1(printk(KERN_DEBUG "jffs2_do_fill_super(): d_alloc_root()\n")); | 523 | D1(printk(KERN_DEBUG "jffs2_do_fill_super(): d_alloc_root()\n")); |
@@ -535,7 +535,6 @@ int jffs2_do_fill_super(struct super_block *sb, void *data, int silent) | |||
535 | 535 | ||
536 | out_root_i: | 536 | out_root_i: |
537 | iput(root_i); | 537 | iput(root_i); |
538 | out_nodes: | ||
539 | jffs2_free_ino_caches(c); | 538 | jffs2_free_ino_caches(c); |
540 | jffs2_free_raw_node_refs(c); | 539 | jffs2_free_raw_node_refs(c); |
541 | if (c->mtd->flags & MTD_NO_VIRTBLOCKS) | 540 | if (c->mtd->flags & MTD_NO_VIRTBLOCKS) |