* [PATCH] btrfs: Fix implicit inclusion of linux/uio.h
@ 2015-03-22 16:46 Mark Brown
2015-03-24 13:43 ` David Sterba
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2015-03-22 16:46 UTC (permalink / raw)
To: Chris Mason, Josef Bacik, David Sterba
Cc: linux-fsdevel, linux-btrfs, Mark Brown
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(+)
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>
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] btrfs: Fix implicit inclusion of linux/uio.h
2015-03-22 16:46 [PATCH] btrfs: Fix implicit inclusion of linux/uio.h Mark Brown
@ 2015-03-24 13:43 ` David Sterba
0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2015-03-24 13:43 UTC (permalink / raw)
To: Mark Brown
Cc: Chris Mason, Josef Bacik, David Sterba, linux-fsdevel, linux-btrfs
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-24 13:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-22 16:46 [PATCH] btrfs: Fix implicit inclusion of linux/uio.h Mark Brown
2015-03-24 13:43 ` David Sterba
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).