diff options
author | Chao Yu <yuchao0@huawei.com> | 2017-06-14 17:00:55 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-07-04 11:11:47 +0200 |
commit | 663f387b713089463e37761bfa2561972c7f45ff (patch) | |
tree | 48292077d39a12217f78d2206007e9bcc0afe9d0 /fs/f2fs/inode.c | |
parent | f2fs: require key for truncate(2) of encrypted file (diff) | |
download | linux-663f387b713089463e37761bfa2561972c7f45ff.tar.xz linux-663f387b713089463e37761bfa2561972c7f45ff.zip |
f2fs: set CP_TRIMMED_FLAG correctly
Don't set CP_TRIMMED_FLAG for non-zoned block device or discard
unsupported device, it can avoid to trigger unneeded checkpoint for
that kind of device.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inode.c')
0 files changed, 0 insertions, 0 deletions