Make compile successful when CONFIG_BCACHE is not set.
euleros inclusion category: feature bugzilla: https://bugzilla.openeuler.org/show_bug.cgi?id=327 CVE: NA When kernel config don't enbale CONFIG_BCACHE, compiling bcache module will fail. This patch add the judgment for CONFIG_BCACHE macro to make sure compiling bcache module success. Signed-off-by: Nqinghaixiang <xuweiqhx@163.com> Signed-off-by: NXu Wei <xuwei56@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com> Reviewed-by: NLi Ruilin <liruilin4@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录