f2fs: fix to spread f2fs_is_checkpoint_ready()
authorChao Yu <yuchao0@huawei.com>
Mon, 22 Jul 2019 09:57:05 +0000 (17:57 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 23 Aug 2019 14:57:11 +0000 (07:57 -0700)
commit955ebcd3a910b00de94be8797b20b8cfb2ee0fd8
tree6ba43907487a20abbd5d2047acac98da78834185
parent7975f3498dc0403d8177c0775b9514158ec66681
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