recovery.c (b9987a277f1ec9dba203d04c3a20d967c01a1fba) | recovery.c (6bacf52fb58aeb3e89d9a62970b85a5570aa8ace) |
---|---|
1/* 2 * fs/f2fs/recovery.c 3 * 4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 5 * http://www.samsung.com/ 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 416 unchanged lines hidden (view full) --- 425int recover_fsync_data(struct f2fs_sb_info *sbi) 426{ 427 struct list_head inode_list; 428 int err; 429 bool need_writecp = false; 430 431 fsync_entry_slab = f2fs_kmem_cache_create("f2fs_fsync_inode_entry", 432 sizeof(struct fsync_inode_entry), NULL); | 1/* 2 * fs/f2fs/recovery.c 3 * 4 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 5 * http://www.samsung.com/ 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 416 unchanged lines hidden (view full) --- 425int recover_fsync_data(struct f2fs_sb_info *sbi) 426{ 427 struct list_head inode_list; 428 int err; 429 bool need_writecp = false; 430 431 fsync_entry_slab = f2fs_kmem_cache_create("f2fs_fsync_inode_entry", 432 sizeof(struct fsync_inode_entry), NULL); |
433 if (unlikely(!fsync_entry_slab)) | 433 if (!fsync_entry_slab) |
434 return -ENOMEM; 435 436 INIT_LIST_HEAD(&inode_list); 437 438 /* step #1: find fsynced inode numbers */ 439 sbi->por_doing = true; 440 err = find_fsync_dnodes(sbi, &inode_list); 441 if (err) --- 18 unchanged lines hidden --- | 434 return -ENOMEM; 435 436 INIT_LIST_HEAD(&inode_list); 437 438 /* step #1: find fsynced inode numbers */ 439 sbi->por_doing = true; 440 err = find_fsync_dnodes(sbi, &inode_list); 441 if (err) --- 18 unchanged lines hidden --- |