Skip to contentSkip to conversation

BEFS: Explicitly include required header file slab.h.

PATCH New Robert P. J. Day 1 participant 1 message Mar 14, 2008 Befs file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 BEFS: Explicitly include required header file slab.h.

Since fs/befs/debug.c invokes kmalloc(), it should explicitly include <linux/slab.h>.

---

fs/befs/debug.c +1 -0
index b8e304a..622e737 100644
@@ -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
========================================================================