diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-01-18 18:29:45 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-01-18 18:29:45 -0800 |
| commit | 96c4bc2e1e42180bf4ac122732e840af94168973 (patch) | |
| tree | 704f2155c80f260e2f246af694d26690a79db9a6 /include/linux | |
| parent | 162a61e857e225d66fcc1763ce74fb9a9f48e928 (diff) | |
[PATCH] CONFIG_EPOLL=n space reduction
From: Davide Libenzi <davidel@xmailserver.org>
CONFIG_EPOLL=n space reduction in struct file.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 8863f93617ba..fd3c87c86d6f 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -525,9 +525,11 @@ struct file { /* needed for tty driver, and maybe others */ void *private_data; +#ifdef CONFIG_EPOLL /* Used by fs/eventpoll.c to link all the hooks to this file */ struct list_head f_ep_links; spinlock_t f_ep_lock; +#endif /* #ifdef CONFIG_EPOLL */ struct address_space *f_mapping; }; extern spinlock_t files_lock; |
