checkpoint.c (c6380ecd8e9bee7aba3d9a5a94b58168244c4a61) checkpoint.c (cd36d7a17f9da68be9aa67185ba3ad7969934a19)
1/*
2 * fs/f2fs/checkpoint.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

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

1131
1132 if ((cpc->reason & CP_UMOUNT) &&
1133 le32_to_cpu(ckpt->cp_pack_total_block_count) >
1134 sbi->blocks_per_seg - NM_I(sbi)->nat_bits_blocks)
1135 disable_nat_bits(sbi, false);
1136
1137 if (cpc->reason & CP_TRIMMED)
1138 __set_ckpt_flags(ckpt, CP_TRIMMED_FLAG);
1/*
2 * fs/f2fs/checkpoint.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

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

1131
1132 if ((cpc->reason & CP_UMOUNT) &&
1133 le32_to_cpu(ckpt->cp_pack_total_block_count) >
1134 sbi->blocks_per_seg - NM_I(sbi)->nat_bits_blocks)
1135 disable_nat_bits(sbi, false);
1136
1137 if (cpc->reason & CP_TRIMMED)
1138 __set_ckpt_flags(ckpt, CP_TRIMMED_FLAG);
1139 else
1140 __clear_ckpt_flags(ckpt, CP_TRIMMED_FLAG);
1139
1140 if (cpc->reason & CP_UMOUNT)
1141 __set_ckpt_flags(ckpt, CP_UMOUNT_FLAG);
1142 else
1143 __clear_ckpt_flags(ckpt, CP_UMOUNT_FLAG);
1144
1145 if (cpc->reason & CP_FASTBOOT)
1146 __set_ckpt_flags(ckpt, CP_FASTBOOT_FLAG);

--- 324 unchanged lines hidden ---
1141
1142 if (cpc->reason & CP_UMOUNT)
1143 __set_ckpt_flags(ckpt, CP_UMOUNT_FLAG);
1144 else
1145 __clear_ckpt_flags(ckpt, CP_UMOUNT_FLAG);
1146
1147 if (cpc->reason & CP_FASTBOOT)
1148 __set_ckpt_flags(ckpt, CP_FASTBOOT_FLAG);

--- 324 unchanged lines hidden ---