fs: btrfs: Add missing include file
authorGuenter Roeck <linux@roeck-us.net>
Fri, 13 Mar 2015 08:58:46 +0000 (01:58 -0700)
committerChris Mason <clm@fb.com>
Wed, 1 Apr 2015 19:32:07 +0000 (12:32 -0700)
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>
fs/btrfs/inode.c

index bb088bd8f7f0fa9717462c0b4fa8394ce4e419d0..97bc1ffc9c7b9d9e00e443344531e976ab3e87d3 100644 (file)
@@ -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"