Commit 6ebc45ae authored by Zheng Zengkai's avatar Zheng Zengkai
Browse files

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: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarlinan <linan122@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent ec88b11e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ struct pipe_inode_info {
	unsigned int files;
	unsigned int r_counter;
	unsigned int w_counter;
	bool poll_usage;
	KABI_REPLACE(unsigned int poll_usage, bool poll_usage)
	struct page *tmp_page;
	struct fasync_struct *fasync_readers;
	struct fasync_struct *fasync_writers;