[PATCH] FILESYSTEMS: Explicitly include required header file slab.h.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>

---

 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
========================================================================
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux