diff options
author | Chao Yu <yuchao0@huawei.com> | 2018-01-17 09:31:38 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-01-22 23:56:53 +0100 |
commit | bb9e3bb8dbf5975a493e4e2dfbb900018579890c (patch) | |
tree | e2197b4ef49b7e928bf289f89e7267e15cecc6a9 /Documentation/dev-tools/ubsan.rst | |
parent | f2fs: fix to update last_disk_size correctly (diff) | |
download | linux-bb9e3bb8dbf5975a493e4e2dfbb900018579890c.tar.xz linux-bb9e3bb8dbf5975a493e4e2dfbb900018579890c.zip |
f2fs: split need_inplace_update
This patch splits need_inplace_update to two functions:
a. should_update_inplace() includes all conditions that we must use IPU.
b. should_update_outplace() includes all conditions that we must use OPU.
So that, in f2fs_ioc_set_pin_file() and f2fs_defragment_range(), we can
use corresponding function to check whether we can trigger OPU/IPU or not.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'Documentation/dev-tools/ubsan.rst')
0 files changed, 0 insertions, 0 deletions