提交 6ebc45ae 编写于 作者: Z Zheng Zengkai

pipe: fix kabi for poll_usage in struct pipe_inode_info

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5L6BR

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

As cd720fad8b57 ("pipe: make poll_usage boolean and annotate its access")
makes poll_usage boolean, kabi compatibility is broken for the interfaces
using struct pipo_inode_info.

Use KABI_REPLACE() to restore kabi compatibility.
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: Nlinan <linan122@huawei.com>
Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
上级 ec88b11e
...@@ -71,7 +71,7 @@ struct pipe_inode_info { ...@@ -71,7 +71,7 @@ struct pipe_inode_info {
unsigned int files; unsigned int files;
unsigned int r_counter; unsigned int r_counter;
unsigned int w_counter; unsigned int w_counter;
bool poll_usage; KABI_REPLACE(unsigned int poll_usage, bool poll_usage)
struct page *tmp_page; struct page *tmp_page;
struct fasync_struct *fasync_readers; struct fasync_struct *fasync_readers;
struct fasync_struct *fasync_writers; struct fasync_struct *fasync_writers;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册