summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorWanpeng Li <wanpeng.li@linux.intel.com>2015-02-26 07:57:21 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-04-10 15:08:26 -0700
commit3c64298579a1343cbdf3d2f17adf774a58546aae (patch)
treed63194085ed8b60cd2f657056c427ba7a3cc16eb /fs/f2fs/node.c
parent551414861fbd494d58d50f4750d1d1b7f42b6df1 (diff)
downloadblackbird-op-linux-3c64298579a1343cbdf3d2f17adf774a58546aae.tar.gz
blackbird-op-linux-3c64298579a1343cbdf3d2f17adf774a58546aae.zip
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>
Diffstat (limited to 'fs/f2fs/node.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud