diff mbox

btrfs: Fix implicit inclusion of linux/uio.h

Message ID 1427042775-8258-1-git-send-email-broonie@kernel.org (mailing list archive)
State New, archived
Headers show

Commit Message

Mark Brown March 22, 2015, 4:46 p.m. UTC
The btrfs inode.c relies on implicit inclusion of linux/uio.h for
definitions of struct iov_iter and iov_iter_alignment() which breaks the
current ARM allmodconfig build where that implicit inclusion does not
happen.  Add an explicit include to fix that.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 fs/btrfs/inode.c | 1 +
 1 file changed, 1 insertion(+)

Comments

David Sterba March 24, 2015, 1:43 p.m. UTC | #1
On Sun, Mar 22, 2015 at 04:46:15PM +0000, Mark Brown wrote:
> The btrfs inode.c relies on implicit inclusion of linux/uio.h for
> definitions of struct iov_iter and iov_iter_alignment() which breaks the
> current ARM allmodconfig build where that implicit inclusion does not
> happen.  Add an explicit include to fix that.
> 
> Signed-off-by: Mark Brown <broonie@kernel.org>

Acked-by: David Sterba <dsterba@suse.cz>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 37dc84c..9e4a634 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -29,6 +29,7 @@ 
 #include <linux/backing-dev.h>
 #include <linux/mpage.h>
 #include <linux/swap.h>
+#include <linux/uio.h>
 #include <linux/writeback.h>
 #include <linux/statfs.h>
 #include <linux/compat.h>