diff options
author | Chao Yu <yuchao0@huawei.com> | 2018-01-31 09:30:34 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-04-08 03:15:44 -0700 |
commit | 180900373ec1684eb94e748915a5c25dde14774e (patch) | |
tree | 7661f588b35e5a949d95686b02f901ea03f809f9 /include/linux/fs.h | |
parent | 0671fae134bb95325ddb35405656af3c9236548d (diff) |
f2fs: fix to clear CP_TRIMMED_FLAG
Once CP_TRIMMED_FLAG is set, after a reboot, we will never issue discard
before LBA becomes invalid again, fix it by clearing the flag in
checkpoint without CP_TRIMMED reason.
Fixes: 1f43e2ad7bff ("f2fs: introduce CP_TRIMMED_FLAG to avoid unneeded discard")
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/fs.h')
0 files changed, 0 insertions, 0 deletions