f2fs: skip new checkpoint when doing fstrim without fs change
authorYunlei He <heyunlei@huawei.com>
Thu, 18 Aug 2016 13:01:19 +0000 (21:01 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 30 Aug 2016 01:31:07 +0000 (18:31 -0700)
commit58cce381fa4e8cfbe7ce005a6a858267a3b481f2
tree67b4dcec3fffea9646c3063adea345672d748976
parentf83a2584cae8f4deacb4c82da0b061813d59a40c
f2fs: skip new checkpoint when doing fstrim without fs change

This patch enables to do fstrim without checkpoint, if there is no fs
change.

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c