OSDN Git Service

f2fs: fix to spread f2fs_is_checkpoint_ready()
authorChao Yu <yuchao0@huawei.com>
Mon, 22 Jul 2019 09:57:05 +0000 (17:57 +0800)
committer0ranko0P <ranko0p@outlook.com>
Tue, 24 Dec 2019 20:42:23 +0000 (04:42 +0800)
commit33771275cc459d09aeb26c5f3f0c0512f56c1e5b
treeeb5ba08caa3cae7b7038a191d33df8f7f047b241
parent3bcf44d34144b4b4e13e6ef4a28d044e402828bc
f2fs: fix to spread f2fs_is_checkpoint_ready()

We missed to call f2fs_is_checkpoint_ready() in several places, it may
allow space allocation even when free space was exhausted during
checkpoint is disabled, fix to add them.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c
fs/f2fs/namei.c
fs/f2fs/xattr.c