recovery.c (98817a84ff1c755c347ac633ff017a623a631fad) recovery.c (901d745f8e6a61a835b12314d8b8a41df7012596)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * fs/f2fs/recovery.c
4 *
5 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com/
7 */
8#include <linux/fs.h>

--- 728 unchanged lines hidden (view full) ---

737 if (entry->blkaddr == blkaddr)
738 list_move_tail(&entry->list, tmp_inode_list);
739next:
740 /* check next segment */
741 blkaddr = next_blkaddr_of_node(page);
742 f2fs_put_page(page, 1);
743 }
744 if (!err)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * fs/f2fs/recovery.c
4 *
5 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com/
7 */
8#include <linux/fs.h>

--- 728 unchanged lines hidden (view full) ---

737 if (entry->blkaddr == blkaddr)
738 list_move_tail(&entry->list, tmp_inode_list);
739next:
740 /* check next segment */
741 blkaddr = next_blkaddr_of_node(page);
742 f2fs_put_page(page, 1);
743 }
744 if (!err)
745 f2fs_allocate_new_segments(sbi, NO_CHECK_TYPE);
745 f2fs_allocate_new_segments(sbi);
746 return err;
747}
748
749int f2fs_recover_fsync_data(struct f2fs_sb_info *sbi, bool check_only)
750{
751 struct list_head inode_list, tmp_inode_list;
752 struct list_head dir_list;
753 int err;

--- 110 unchanged lines hidden ---
746 return err;
747}
748
749int f2fs_recover_fsync_data(struct f2fs_sb_info *sbi, bool check_only)
750{
751 struct list_head inode_list, tmp_inode_list;
752 struct list_head dir_list;
753 int err;

--- 110 unchanged lines hidden ---