* [PATCH] btrfs: fix build breakage
@ 2015-03-25 16:52 Lad Prabhakar
2015-03-25 17:22 ` David Sterba
0 siblings, 1 reply; 2+ messages in thread
From: Lad Prabhakar @ 2015-03-25 16:52 UTC (permalink / raw)
To: Chris Mason, Josef Bacik, David Sterba; +Cc: linux-btrfs, Lad, Prabhakar
From: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>
this patch adds necessary include file, fixing following build errors:
fs/btrfs/inode.c:8094:13: error: undefined identifier 'iov_iter_alignment'
fs/btrfs/inode.c:8105:33: error: using member 'nr_segs' in incomplete struct iov_iter
fs/btrfs/inode.c:8106:43: error: using member 'nr_segs' in incomplete struct iov_iter
fs/btrfs/inode.c:8107:33: error: using member 'iov' in incomplete struct iov_iter
fs/btrfs/inode.c:8140:17: error: undefined identifier 'iov_iter_count'
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
---
Noticed this issue on linux-next, with allmodconfig
build.
fs/btrfs/inode.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index aa8ce48..a938e74 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -42,6 +42,8 @@
#include <linux/btrfs.h>
#include <linux/blkdev.h>
#include <linux/posix_acl_xattr.h>
+#include <linux/uio.h>
+
#include "ctree.h"
#include "disk-io.h"
#include "transaction.h"
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] btrfs: fix build breakage
2015-03-25 16:52 [PATCH] btrfs: fix build breakage Lad Prabhakar
@ 2015-03-25 17:22 ` David Sterba
0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2015-03-25 17:22 UTC (permalink / raw)
To: Lad Prabhakar; +Cc: Chris Mason, Josef Bacik, linux-btrfs
On Wed, Mar 25, 2015 at 04:52:01PM +0000, Lad Prabhakar wrote:
> From: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>
>
> this patch adds necessary include file, fixing following build errors:
>
> fs/btrfs/inode.c:8094:13: error: undefined identifier 'iov_iter_alignment'
> fs/btrfs/inode.c:8105:33: error: using member 'nr_segs' in incomplete struct iov_iter
> fs/btrfs/inode.c:8106:43: error: using member 'nr_segs' in incomplete struct iov_iter
> fs/btrfs/inode.c:8107:33: error: using member 'iov' in incomplete struct iov_iter
> fs/btrfs/inode.c:8140:17: error: undefined identifier 'iov_iter_count'
>
> Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Thanks, we've a patch for that already
https://patchwork.kernel.org/patch/6069411/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-25 17:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-25 16:52 [PATCH] btrfs: fix build breakage Lad Prabhakar
2015-03-25 17:22 ` 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).