Skip to content
Commit 0d8c7542 authored by Wu Bo's avatar Wu Bo Committed by Jaegeuk Kim
Browse files

f2fs: check free sections before disable checkpoint



'f2fs_is_checkpoint_ready()' checks free sections. If there is not
enough free sections, most f2fs operations will return -ENOSPC when
checkpoint is disabled.

It would be better to check free sections before disable checkpoint.

Signed-off-by: default avatarWu Bo <bo.wu@vivo.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent c10e8558
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment