Linux-BTRFS Archive on
 help / color / Atom feed
From: Mark Brown <>
To: Chris Mason <>, Josef Bacik <>,
	David Sterba <>
	Mark Brown <>
Subject: [PATCH] btrfs: Fix implicit inclusion of linux/uio.h
Date: Sun, 22 Mar 2015 16:46:15 +0000
Message-ID: <> (raw)

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 <>
 fs/btrfs/inode.c | 1 +
 1 file changed, 1 insertion(+)

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>

             reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-22 16:46 Mark Brown [this message]
2015-03-24 13:43 ` David Sterba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-BTRFS Archive on

Archives are clonable:
	git clone --mirror linux-btrfs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-btrfs linux-btrfs/ \
	public-inbox-index linux-btrfs

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone