[f2fs-dev] [PATCH] f2fs: avoid to calculate incorrect max orphan number

2013-11-29 Thread Chao Yu
Because we will write node summaries when do_checkpoint with umount flag, our number of max orphan blocks should minus NR_CURSEG_NODE_TYPE additional. Signed-off-by: Chao Yu Signed-off-by: Shu Tan --- fs/f2fs/checkpoint.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff

[f2fs-dev] [PATCH] f2fs: avoid to calculate incorrect max orphan number

2013-11-29 Thread Chao Yu
Because we will write node summaries when do_checkpoint with umount flag, our number of max orphan blocks should minus NR_CURSEG_NODE_TYPE additional. Signed-off-by: Chao Yu chao2...@samsung.com Signed-off-by: Shu Tan shu@samsung.com --- fs/f2fs/checkpoint.c |7 --- 1 file changed, 4