* [PATCH] BEFS: Explicitly include required header file slab.h.
@ 2008-03-14 2:11 Robert P. J. Day
0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2008-03-14 2:11 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: rathamahata
Since fs/befs/debug.c invokes kmalloc(), it should explicitly include
<linux/slab.h>.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
---
diff --git a/fs/befs/debug.c b/fs/befs/debug.c
index b8e304a..622e737 100644
--- a/fs/befs/debug.c
+++ b/fs/befs/debug.c
@@ -17,6 +17,7 @@
#include <linux/spinlock.h>
#include <linux/kernel.h>
#include <linux/fs.h>
+#include <linux/slab.h>
#endif /* __KERNEL__ */
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-14 2:11 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:11 [PATCH] BEFS: 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
all inboxes | Powered by JetHome®