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'
Signed-off-by: Alexander Beregalov <[email protected]>
---
include/linux/pktcdvd.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/pktcdvd.h b/include/linux/pktcdvd.h
index 04b4d73..d745f5b 100644
--- a/include/linux/pktcdvd.h
+++ b/include/linux/pktcdvd.h
@@ -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
--
1.6.2.3
On Mon, Apr 20 2009, Alexander Beregalov wrote:
> 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
>
> Signed-off-by: Alexander Beregalov <[email protected]>
> ---
> include/linux/pktcdvd.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/pktcdvd.h b/include/linux/pktcdvd.h
> index 04b4d73..d745f5b 100644
> --- a/include/linux/pktcdvd.h
> +++ b/include/linux/pktcdvd.h
> @@ -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
> --
> 1.6.2.3
>
--
Jens Axboe