Home
last modified time | relevance | path

Searched hist:"3 c64298579a1343cbdf3d2f17adf774a58546aae" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/f2fs/
H A Dcheckpoint.cdiff 3c64298579a1343cbdf3d2f17adf774a58546aae Wed Feb 25 17:57:21 CST 2015 Wanpeng Li <wanpeng.li@linux.intel.com> f2fs: fix the number of orphan inode blocks

cp_pack_start_sum is calculated in do_checkpoint and is equal to
cpu_to_le32(1 + cp_payload_blks + orphan_blocks). The number of
orphan inode blocks is take advantage of by recover_orphan_inodes
to readahead meta pages and recovery inodes. However, current codes
forget to reduce the number of cp payload blocks when calculate
the number of orphan inode blocks. This patch fix it.

Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com>
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>