commit | 9c07b3b39dc7720a9427e5561cc730fa28b92cc2 | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Thu Jul 26 20:21:54 2018 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jul 27 17:24:08 2018 +0200 |
tree | fea06cc42e41badecf143a3bc620d29747a12bf1 | |
parent | d5beb31b6b1c0a3f7b30611c6d4b888f8d4137dd [diff] |
staging: erofs: introduce error injection infrastructure This patch introduces error injection infrastructure, with it, we can inject error in any kernel exported common functions which erofs used, so that it can force erofs running into error paths, it turns out that tests can cover real rare paths more easily to find bugs. Reviewed-by: Gao Xiang <gaoxiang25@huawei.com> Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>