aboutsummaryrefslogtreecommitdiff
path: root/include/linux/flex_array.h
diff options
context:
space:
mode:
authorWeichao Guo <guoweichao@huawei.com>2017-05-11 04:28:00 +0800
committerMoyster <oysterized@gmail.com>2017-07-21 12:37:11 +0200
commitf4cafd36561f53a4acef1ed23b3c0386ab7bc04b (patch)
tree284789b7c06a28aae7601acc903a2e9d060921cb /include/linux/flex_array.h
parent8ebe8e63de120c5502085ba7311be1712a5f9861 (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/flex_array.h')
0 files changed, 0 insertions, 0 deletions