diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-05-06 02:49:18 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-05-12 19:14:03 +0200 |
commit | 7bc155fec5b371dbb57256e84a49c78692a09060 (patch) | |
tree | d286a84a056eb8694c6b50b0c2e13372f91c9863 /fs/f2fs/segment.c | |
parent | f2fs: change the current atomic write way (diff) | |
download | linux-7bc155fec5b371dbb57256e84a49c78692a09060.tar.xz linux-7bc155fec5b371dbb57256e84a49c78692a09060.zip |
f2fs: kill volatile write support
There's no user, since all can use atomic writes simply.
Let's kill it.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r-- | fs/f2fs/segment.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index c0d7118fe171..47934995e2ca 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -3166,8 +3166,7 @@ static int __get_segment_type_6(struct f2fs_io_info *fio) return CURSEG_COLD_DATA; if (file_is_hot(inode) || is_inode_flag_set(inode, FI_HOT_DATA) || - f2fs_is_atomic_file(inode) || - f2fs_is_volatile_file(inode)) + f2fs_is_atomic_file(inode)) return CURSEG_HOT_DATA; return f2fs_rw_hint_to_seg_type(inode->i_write_hint); } else { |