]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/suse-2.6.27.31/patches.kabi/abi-fix-add-epoll_devs-back-to-struct-user_struct.patch
6d5d333943a2c6cf58985153068d5c43b7f31bee
[ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.kabi / abi-fix-add-epoll_devs-back-to-struct-user_struct.patch
1 From: Greg Kroah-Hartman <gregkh@suse.de>
2 Subject: ABI fix: add epoll_devs back to struct user_struct
3
4 This is only to keep the ABI stable for now, this patch
5 needs to be removed next chance we get when the ABI changes
6 as it's not needed at all.
7
8 This is here because 2.6.27.14 removes this field.
9
10 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
11
12 ---
13 include/linux/sched.h | 1 +
14 1 file changed, 1 insertion(+)
15
16 --- a/include/linux/sched.h
17 +++ b/include/linux/sched.h
18 @@ -589,6 +589,7 @@ struct user_struct {
19 atomic_t inotify_devs; /* How many inotify devs does this user have opened? */
20 #endif
21 #ifdef CONFIG_EPOLL
22 + atomic_t epoll_devs; /* DO NOT USE, ONLY HERE TO KEEP ABI STABLE */
23 atomic_t epoll_watches; /* The number of file descriptors currently watched */
24 #endif
25 #ifdef CONFIG_POSIX_MQUEUE