* [PATCH] FILESYSTEMS: Explicitly include required header file slab.h.
@ 2008-03-14 2:33 Robert P. J. Day
0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2008-03-14 2:33 UTC (permalink / raw)
To: linux-fsdevel; +Cc: Alexander Viro
After an experimental deletion of the unnecessary include of slab.h
from the header file <linux/percpu.h>, the following files were
exposed as needing to explicitly include <linux/slab.h>.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
---
fs/eventfd.c | 1 +
fs/signalfd.c | 1 +
fs/timerfd.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/fs/eventfd.c b/fs/eventfd.c
index a9f130c..028cd17 100644
--- a/fs/eventfd.c
+++ b/fs/eventfd.c
@@ -16,6 +16,7 @@
#include <linux/anon_inodes.h>
#include <linux/eventfd.h>
#include <linux/syscalls.h>
+#include <linux/slab.h>
struct eventfd_ctx {
wait_queue_head_t wqh;
diff --git a/fs/signalfd.c b/fs/signalfd.c
index cb2b63a..547cd40 100644
--- a/fs/signalfd.c
+++ b/fs/signalfd.c
@@ -28,6 +28,7 @@
#include <linux/anon_inodes.h>
#include <linux/signalfd.h>
#include <linux/syscalls.h>
+#include <linux/slab.h>
struct signalfd_ctx {
sigset_t sigmask;
diff --git a/fs/timerfd.c b/fs/timerfd.c
index 10c80b5..6a2a06c 100644
--- a/fs/timerfd.c
+++ b/fs/timerfd.c
@@ -20,6 +20,7 @@
#include <linux/hrtimer.h>
#include <linux/anon_inodes.h>
#include <linux/timerfd.h>
+#include <linux/slab.h>
struct timerfd_ctx {
struct hrtimer tmr;
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-14 2:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-14 2:33 [PATCH] FILESYSTEMS: Explicitly include required header file slab.h Robert P. J. Day
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox