Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377658
b: refs/heads/master
c: 8c26d7d
h: refs/heads/master
v: v3
  • Loading branch information
Jaegeuk Kim committed May 28, 2013
1 parent 41040c8 commit c540b90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: addbe45b005d73f876d55bcfc16f4a6ce52a55e3
refs/heads/master: 8c26d7d5717adf7f06d98c4416852d09566edd7c
4 changes: 2 additions & 2 deletions trunk/fs/f2fs/recovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ int recover_fsync_data(struct f2fs_sb_info *sbi)
INIT_LIST_HEAD(&inode_list);

/* step #1: find fsynced inode numbers */
sbi->por_doing = 1;
err = find_fsync_dnodes(sbi, &inode_list);
if (err)
goto out;
Expand All @@ -389,13 +390,12 @@ int recover_fsync_data(struct f2fs_sb_info *sbi)
goto out;

/* step #2: recover data */
sbi->por_doing = 1;
err = recover_data(sbi, &inode_list, CURSEG_WARM_NODE);
sbi->por_doing = 0;
BUG_ON(!list_empty(&inode_list));
out:
destroy_fsync_dnodes(sbi, &inode_list);
kmem_cache_destroy(fsync_entry_slab);
sbi->por_doing = 0;
write_checkpoint(sbi, false);
return err;
}

0 comments on commit c540b90

Please sign in to comment.