FILESYSTEMS: Explicitly include required header file slab.h.
Subsystems (2)
PATCH 1/1 FILESYSTEMS: Explicitly include required header file slab.h.
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 <[email protected]>
---
fs/eventfd.c | 1 + fs/signalfd.c | 1 + fs/timerfd.c | 1 + 3 files changed, 3 insertions(+)
fs/eventfd.c +1 -0
@@ -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;
fs/signalfd.c +1 -0
@@ -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;
fs/timerfd.c +1 -0
@@ -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
========================================================================