Re: [PATCH v2] Fix a build error when BLOCK=n

From: Jens Axboe
Date: Thu Oct 18 2007 - 11:28:21 EST


On Thu, Oct 18 2007, Emil Medve wrote:
> mm/filemap.c: In function '__filemap_fdatawrite_range':
> mm/filemap.c:200: error: implicit declaration of function 'mapping_cap_writeback_dirty'
>
> This happens when we don't use/have any block devices and a NFS root filesystem
> is used
>
> mapping_cap_writeback_dirty() is defined in linux/backing-dev.h which used to be
> provided in mm/filemap.c by linux/blkdev.h until commit
> f5ff8422bbdd59f8c1f699df248e1b7a11073027
>
> Signed-off-by: Emil Medve <Emilian.Medve@xxxxxxxxxxxxx>

Acked-by: Jens Axboe <jens.axboe@xxxxxxxxxx>

--
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/