提交 26255f3b 编写于 作者: Z zhangwensheng 提交者: Yang Yingliang

fix kabi effect by change in md_rdev

hulk inclusion
category: bugfix
bugzilla: 185891
CVE: NA

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

because enlarge the last_events  in md_rdev, to fix the kabi change;
Signed-off-by: Nzhangwensheng <zhangwensheng5@huawei.com>
Reviewed-by: NZhang Yi <yi.zhang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 3a9c3f93
...@@ -47,8 +47,16 @@ struct md_rdev { ...@@ -47,8 +47,16 @@ struct md_rdev {
sector_t sectors; /* Device size (in 512bytes sectors) */ sector_t sectors; /* Device size (in 512bytes sectors) */
struct mddev *mddev; /* RAID array if running */ struct mddev *mddev; /* RAID array if running */
long long last_events; /* IO event timestamp */
/*
* IO event timestamp, this pos has 64 bit space,
* can enlarge it solving its small size.
*/
#ifndef __GENKSYMS__
long long last_events;
#else
int last_events;
#endif
/* /*
* If meta_bdev is non-NULL, it means that a separate device is * If meta_bdev is non-NULL, it means that a separate device is
* being used to store the metadata (superblock/bitmap) which * being used to store the metadata (superblock/bitmap) which
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册