Re: [PATCH -next] mm/truncate.c: fix build for CONFIG_BLOCK notenabled

From: Christoph Hellwig
Date: Fri Jul 22 2011 - 11:06:37 EST


On Thu, Jul 21, 2011 at 01:55:37PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
>
> Fix build error when CONFIG_BLOCK is not enabled by providing a stub
> inode_dio_wait() function.
>
> mm/truncate.c:612: error: implicit declaration of function 'inode_dio_wait'
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Looks good to me, thanks a lot Randy!

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