diff options
author | Weichao Guo <guoweichao@huawei.com> | 2017-09-29 22:43:23 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-10-10 12:49:52 -0700 |
commit | 71ad682c1c295f1ba4eec7478384138b6ad4dab2 (patch) | |
tree | 5bf2e1c1375b2f8e7290df32f4a7f8dee58e6334 /fs/f2fs/shrinker.c | |
parent | f2fs: allow readpages with NULL file pointer (diff) | |
download | linux-dev-71ad682c1c295f1ba4eec7478384138b6ad4dab2.tar.xz linux-dev-71ad682c1c295f1ba4eec7478384138b6ad4dab2.zip |
f2fs: convert inline data for direct I/O & FI_NO_PREALLOC
In FI_NO_PREALLOC cases, direct I/O path may allocate blocks for an
inode but keep its inline data flag. This inconsistency may trigger
vfs clear_inode nrpages bug_on when evicting the inode. We should
convert inline data first in this case.
Signed-off-by: Weichao Guo <guoweichao@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/shrinker.c')
0 files changed, 0 insertions, 0 deletions