diff options
author | Christoph Hellwig <hch@lst.de> | 2015-02-22 08:58:50 -0800 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-03-25 20:28:11 -0400 |
commit | e2e40f2c1ed433c5e224525c8c862fd32e5d3df2 (patch) | |
tree | 6210d9452c526157744b0d83454eaea20bcf9a0e /mm | |
parent | 04b2fa9f8f36ec6fb6fd1c9dc9df6fff0cd27323 (diff) | |
download | blackbird-op-linux-e2e40f2c1ed433c5e224525c8c862fd32e5d3df2.tar.gz blackbird-op-linux-e2e40f2c1ed433c5e224525c8c862fd32e5d3df2.zip |
fs: move struct kiocb to fs.h
struct kiocb now is a generic I/O container, so move it to fs.h.
Also do a #include diet for aio.h while we're at it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/filemap.c | 1 | ||||
-rw-r--r-- | mm/page_io.c | 2 | ||||
-rw-r--r-- | mm/shmem.c | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index ad7242043bdb..876f4e6f3ed6 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -13,7 +13,6 @@ #include <linux/compiler.h> #include <linux/fs.h> #include <linux/uaccess.h> -#include <linux/aio.h> #include <linux/capability.h> #include <linux/kernel_stat.h> #include <linux/gfp.h> diff --git a/mm/page_io.c b/mm/page_io.c index 7ef21577856c..a96c8562d835 100644 --- a/mm/page_io.c +++ b/mm/page_io.c @@ -20,8 +20,8 @@ #include <linux/buffer_head.h> #include <linux/writeback.h> #include <linux/frontswap.h> -#include <linux/aio.h> #include <linux/blkdev.h> +#include <linux/uio.h> #include <asm/pgtable.h> static struct bio *get_swap_bio(gfp_t gfp_flags, diff --git a/mm/shmem.c b/mm/shmem.c index a63031fa3e0c..944b94079bb0 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -31,7 +31,7 @@ #include <linux/mm.h> #include <linux/export.h> #include <linux/swap.h> -#include <linux/aio.h> +#include <linux/uio.h> static struct vfsmount *shm_mnt; |