提交 be983eed 编写于 作者: Y Yang Yingliang

fs: fix kabi broken introduced by fixing CVE-2020-14381

hulk inclusion
CVE: CVE-2020-14381

--------------------------------

Fix kabi broken introduced by fixing CVE-2020-14381.
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com>
Reviewed-by: NJason Yan <yanaijie@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 16b27ff7
......@@ -683,7 +683,6 @@ struct inode {
struct rcu_head i_rcu;
};
atomic64_t i_version;
atomic64_t i_sequence; /* see futex */
atomic_t i_count;
atomic_t i_dio_count;
atomic_t i_writecount;
......@@ -715,7 +714,11 @@ struct inode {
void *i_private; /* fs or device private pointer */
#ifndef __GENKSYMS__
atomic64_t i_sequence; /* see futex */
#else
KABI_RESERVE(1)
#endif
KABI_RESERVE(2)
} __randomize_layout;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册