Skip to contentSkip to conversation

pktcdvd.h should include mempool.h

PATCH Applied Alexander Beregalov 2 participants 2 messages Apr 20, 2009 – Apr 21, 2009 Linux-next tree

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 pktcdvd.h should include mempool.h

From: Alexander Beregalov <[email protected]>

Fix this build error:
In file included from fs/compat_ioctl.c:104:
include/linux/pktcdvd.h:285: error: expected specifier-qualifier-list before 'mempool_t'

---
 include/linux/pktcdvd.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/pktcdvd.h +1 -0
index 04b4d73..d745f5b 100644
@@ -113,6 +113,7 @@ struct pkt_ctrl_command {
 #include <linux/cdrom.h>
 #include <linux/kobject.h>
 #include <linux/sysfs.h>
+#include <linux/mempool.h>
 
 /* default bio write queue congestion marks */
 #define PKT_WRITE_CONGESTION_ON    10000
Signature · 1 line
1.6.2.3
Applied
#1 lore raw
Quoted 5 lines · Alexander Beregalov

From: Alexander Beregalov <[email protected]>

Fix this build error:
In file included from fs/compat_ioctl.c:104:
include/linux/pktcdvd.h:285: error: expected specifier-qualifier-list before 'mempool_t'

Applied

Quoted 21 lines
---
 include/linux/pktcdvd.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/pktcdvd.h +1 -0
index 04b4d73..d745f5b 100644
@@ -113,6 +113,7 @@ struct pkt_ctrl_command {
 #include <linux/cdrom.h>
 #include <linux/kobject.h>
 #include <linux/sysfs.h>
+#include <linux/mempool.h>
 
 /* default bio write queue congestion marks */
 #define PKT_WRITE_CONGESTION_ON    10000
Signature · 1 line
1.6.2.3
Signature · 1 line
Jens Axboe