diff options
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r-- | fs/ubifs/super.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 4d2f2157dd3f..5fc5a0988970 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c | |||
@@ -1307,6 +1307,8 @@ static int mount_ubifs(struct ubifs_info *c) | |||
1307 | if (err) | 1307 | if (err) |
1308 | goto out_orphans; | 1308 | goto out_orphans; |
1309 | err = ubifs_rcvry_gc_commit(c); | 1309 | err = ubifs_rcvry_gc_commit(c); |
1310 | if (err) | ||
1311 | goto out_orphans; | ||
1310 | } else { | 1312 | } else { |
1311 | err = take_gc_lnum(c); | 1313 | err = take_gc_lnum(c); |
1312 | if (err) | 1314 | if (err) |
@@ -1318,7 +1320,7 @@ static int mount_ubifs(struct ubifs_info *c) | |||
1318 | */ | 1320 | */ |
1319 | err = ubifs_leb_unmap(c, c->gc_lnum); | 1321 | err = ubifs_leb_unmap(c, c->gc_lnum); |
1320 | if (err) | 1322 | if (err) |
1321 | return err; | 1323 | goto out_orphans; |
1322 | } | 1324 | } |
1323 | 1325 | ||
1324 | err = dbg_check_lprops(c); | 1326 | err = dbg_check_lprops(c); |