Hi Al, On Tue, 22 Apr 2014 11:26:53 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote: > > After merging the vfs tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > fs/nfs/direct.c: In function 'nfs_direct_read_schedule_iovec': > fs/nfs/direct.c:382:4: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration] > vfree(pagevec); > ^ > > Caused by commit 2703e4cd2d57 ("new helper: iov_iter_get_pages_alloc()"). > > I have used the vfs tree from next-20140417 for today. With mixed feelings, I have added the following patch for today: From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Wed, 23 Apr 2014 10:29:35 +1000 Subject: [PATCH] vfs: using vfree requires including vmalloc.h Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- fs/nfs/direct.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c index 775cc5031eea..9116d9a49406 100644 --- a/fs/nfs/direct.c +++ b/fs/nfs/direct.c @@ -47,6 +47,7 @@ #include <linux/slab.h> #include <linux/task_io_accounting_ops.h> #include <linux/module.h> +#include <linux/vmalloc.h> #include <linux/nfs_fs.h> #include <linux/nfs_page.h> -- 1.9.2 -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Attachment:
pgpPcJOnMzQqt.pgp
Description: PGP signature