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 899066dd0c14..cd5900b85d38 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c | |||
@@ -1311,6 +1311,8 @@ static int mount_ubifs(struct ubifs_info *c) | |||
1311 | if (err) | 1311 | if (err) |
1312 | goto out_orphans; | 1312 | goto out_orphans; |
1313 | err = ubifs_rcvry_gc_commit(c); | 1313 | err = ubifs_rcvry_gc_commit(c); |
1314 | if (err) | ||
1315 | goto out_orphans; | ||
1314 | } else { | 1316 | } else { |
1315 | err = take_gc_lnum(c); | 1317 | err = take_gc_lnum(c); |
1316 | if (err) | 1318 | if (err) |
@@ -1322,7 +1324,7 @@ static int mount_ubifs(struct ubifs_info *c) | |||
1322 | */ | 1324 | */ |
1323 | err = ubifs_leb_unmap(c, c->gc_lnum); | 1325 | err = ubifs_leb_unmap(c, c->gc_lnum); |
1324 | if (err) | 1326 | if (err) |
1325 | return err; | 1327 | goto out_orphans; |
1326 | } | 1328 | } |
1327 | 1329 | ||
1328 | err = dbg_check_lprops(c); | 1330 | err = dbg_check_lprops(c); |