commit | 01f9cf6db70f97d92d5e601ad397921014a999ca | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Mon Jun 25 20:33:24 2018 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Fri Jul 27 18:03:59 2018 +0900 |
tree | caeeb027e29ec8e35b5248e09f893a1f0cc71dfb | |
parent | c77ec61ca0a49544ca81881cc5d5529858f7e196 [diff] |
f2fs: fix to correct return value of f2fs_trim_fs We should account trimmed block number from __wait_all_discard_cmd in __issue_discard_cmd_range, otherwise trimmed blocks returned by f2fs_trim_fs will be wrong, this patch fixes it. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>