From: Lad Prabhakar <prabhakar.csengg@gmail.com>
To: Chris Mason <clm@fb.com>, Josef Bacik <jbacik@fb.com>,
David Sterba <dsterba@suse.cz>
Cc: linux-btrfs@vger.kernel.org, "Lad,
Prabhakar" <prabhakar.csengg@gmail.com>
Subject: [PATCH] btrfs: fix build breakage
Date: Wed, 25 Mar 2015 16:52:01 +0000 [thread overview]
Message-ID: <1427302321-3458-1-git-send-email-prabhakar.csengg@gmail.com> (raw)
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
next reply other threads:[~2015-03-25 16:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-25 16:52 Lad Prabhakar [this message]
2015-03-25 17:22 ` [PATCH] btrfs: fix build breakage 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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1427302321-3458-1-git-send-email-prabhakar.csengg@gmail.com \
--to=prabhakar.csengg@gmail.com \
--cc=clm@fb.com \
--cc=dsterba@suse.cz \
--cc=jbacik@fb.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).