Re: linux-next: Tree for July 18 (mm/truncate.c)

From: Al Viro
Date: Thu Jul 21 2011 - 16:50:54 EST


On Mon, Jul 18, 2011 at 11:21:18AM -0400, Christoph Hellwig wrote:
> On Mon, Jul 18, 2011 at 08:18:16AM -0700, Randy Dunlap wrote:
> > On Mon, 18 Jul 2011 20:35:01 +1000 Stephen Rothwell wrote:
> >
> > > Hi all,
> >
> > mm/truncate.c:612: error: implicit declaration of function 'inode_dio_wait'
> >
> > mm/truncate.c should be #include-ing <linux/fs.h> for that function's
> > prototype, but that doesn't help when CONFIG_BLOCK is not enabled,
> > which is the case in this build failure.
>
> Oops. Two choices here:
>
> a) stub it out for non-blocks.
> b) move it out of directio.c so that it's always provided.
>
> I'd be fine with either one. Al, any preferences?

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