summaryrefslogtreecommitdiff
path: root/fs/btrfs
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-03-13 01:58:46 -0700
committerChris Mason <clm@fb.com>2015-04-01 12:32:07 -0700
commit4a3d1caf8a2c16c55424a0768eade54ee0922341 (patch)
tree61360fcce26a1909a4e94027a8c3b61d12bae1cc /fs/btrfs
parentdd82525956744c3a5e6b7275cd468b6180cc5b72 (diff)
downloadlinux-4a3d1caf8a2c16c55424a0768eade54ee0922341.tar.gz
fs: btrfs: Add missing include file
Building alpha:allmodconfig fails with fs/btrfs/inode.c: In function 'check_direct_IO': fs/btrfs/inode.c:8050:2: error: implicit declaration of function 'iov_iter_alignment' due to a missing include file. Fixes: 3737c63e1fb0 ("fs: move struct kiocb to fs.h") Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index bb088bd8f7f0..97bc1ffc9c7b 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -43,6 +43,7 @@
#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"