diff options
| author | Weichao Guo <guoweichao@huawei.com> | 2017-05-11 04:28:00 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-07-21 12:37:11 +0200 |
| commit | f4cafd36561f53a4acef1ed23b3c0386ab7bc04b (patch) | |
| tree | 284789b7c06a28aae7601acc903a2e9d060921cb /include/linux | |
| parent | 8ebe8e63de120c5502085ba7311be1712a5f9861 (diff) | |
f2fs: make sure f2fs_gc returns consistent errno
By default, f2fs_gc returns -EINVAL in general error cases, e.g., no victim
was selected. However, the default errno may be overwritten in two cases:
gc_more and BG_GC -> FG_GC. We should return consistent errno in such cases.
Signed-off-by: Weichao Guo <guoweichao@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
