]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
aio-dont-include-aioh-in-schedh-fix
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 26 Mar 2013 23:26:23 +0000 (10:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:26:39 +0000 (17:26 +1100)
fs/bio.c: In function 'bio_alloc_bioset':
fs/bio.c:394: error: 'UIO_MAXIOV' undeclared (first use in this function)
fs/bio.c:394: error: (Each undeclared identifier is reported only once
fs/bio.c:394: error: for each function it appears in.)
fs/bio.c: In function 'bio_alloc_map_data':
fs/bio.c:963: error: 'UIO_MAXIOV' undeclared (first use in this function)
make[1]: *** [fs/bio.o] Error 1
make: *** [fs/bio.o] Error 2

Cc: Kent Overstreet <koverstreet@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/bio.c

index 9238a54b562c9bb0b672f4bd6359871e192c21d8..152be59bfe0f2dd59b549b80f92aa1fdaf53654e 100644 (file)
--- a/fs/bio.c
+++ b/fs/bio.c
@@ -19,6 +19,7 @@
 #include <linux/swap.h>
 #include <linux/bio.h>
 #include <linux/blkdev.h>
+#include <linux/uio.h>
 #include <linux/iocontext.h>
 #include <linux/slab.h>
 #include <linux/init.h>