Re: [PATCH 2/2] pktcdvd.h should include mempool.h

From: Jens Axboe
Date: Tue Apr 21 2009 - 03:32:48 EST


On Mon, Apr 20 2009, Alexander Beregalov wrote:
> From: Alexander Beregalov <a.beregalov@xxxxxxxxx>
>
> 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 <a.beregalov@xxxxxxxxx>
> ---
> 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/