pktcdvd.h should include mempool.h
authorAlexander Beregalov <a.beregalov@gmail.com>
Tue, 21 Apr 2009 07:33:14 +0000 (09:33 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 24 Apr 2009 06:54:21 +0000 (08:54 +0200)
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'

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/pktcdvd.h

index 04b4d7330e6db16dab77d2317a8754fded181dce..d745f5b6c7b0dda3dfab83854ee00f86c51ce987 100644 (file)
@@ -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