linux-next: build failure after merge of the vfs tree
Subsystems (2)
Hi Al,
After merging the vfs tree, today's linux-next build (arm multi_v7_defconfig) failed like this:
fs/ext4/indirect.c: In function 'ext4_ind_direct_IO':fs/ext4/indirect.c:653:2: error: implicit declaration of function 'iov_iter_count' [-Werror=implicit-function-declaration]
size_t count = iov_iter_count(iter);
^
Caused by commit 3737c63e1fb0 ("fs: move struct kiocb to fs.h"). aio.h used to include uio.h ...
I wonder if there is more fallout from this include file diet.
It would have been nice if the more general changes to aio.h were in a separate patch.
I added the following patch for today:
From: Stephen Rothwell <[email protected]>
Date: Fri, 13 Mar 2015 11:56:46 +1100
Subject: [PATCH] ext4: iov_iter_count needs linux/uio.h
--- fs/ext4/indirect.c | 2 ++ 1 file changed, 2 insertions(+)
fs/ext4/indirect.c +2 -0
@@ -20,6 +20,8 @@* ([email protected]), 1993, 1998 */ +#include <linux/uio.h> +#include "ext4_jbd2.h" #include "truncate.h"
Signature · 5 lines
2.1.4 -- Cheers, Stephen Rothwell [email protected]
Hi Al,
Quoted 44 lines · On Fri, 13 Mar 2015 12:02:50 +1100 Stephen Rothwell <[email protected]>…
After merging the vfs tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
fs/ext4/indirect.c: In function 'ext4_ind_direct_IO':fs/ext4/indirect.c:653:2: error: implicit declaration of function 'iov_iter_count' [-Werror=implicit-function-declaration]
size_tcount =iov_iter_count(iter);
^Caused by commit
3737c63e1fb0("fs: move struct kiocb tofs.h").aio.hused to includeuio.h...I wonder if there is more fallout from this include file diet.
It would have been nice if the more general changes to
aio.hwere in a separate patch.I added the following patch for today:
From: Stephen Rothwell <[email protected]>
Date: Fri, 13 Mar 2015 11:56:46 +1100
Subject: [PATCH] ext4:iov_iter_countneedslinux/uio.hFixes 3737c63e1fb0 ("fs: move struct kiocb to fs.h")Signed-off-by Stephen Rothwell <[email protected]>--- fs/ext4/indirect.c | 2 ++ 1 file changed, 2 insertions(+)fs/ext4/indirect.c +2
-0@@ -20,6 +20,8 @@* ([email protected]), 1993, 1998 */ +#include <linux/uio.h> +#include "ext4_jbd2.h" #include "truncate.h" Signature · 1 line
2.1.4
I am still applying the above patch every day ...
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
Quoted 1 line · Stephen Rothwell
I am still applying the above patch every day ...
Might be worth folding it. Al, can you do that?