summaryrefslogtreecommitdiff
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-04-03 11:32:25 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-05-07 01:39:37 +0400
commita8f3550cd228b6edc5d17fce1a9af8cc7004f185 (patch)
tree45c336178fff2cba85d445d6973a159776297669 /mm/filemap.c
parent3dae8750c368f8ac11c3c8c2a28f56dcee865c01 (diff)
downloadlinux-a8f3550cd228b6edc5d17fce1a9af8cc7004f185.tar.xz
bury __generic_file_aio_write()
all users converted to __generic_file_write_iter() now Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm/filemap.c')
-rw-r--r--mm/filemap.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index d2d9eeec8bf0..7dcdb9db710d 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -2645,17 +2645,6 @@ out:
}
EXPORT_SYMBOL(__generic_file_write_iter);
-ssize_t __generic_file_aio_write(struct kiocb *iocb, const struct iovec *iov,
- unsigned long nr_segs)
-{
- size_t count = iov_length(iov, nr_segs);
- struct iov_iter from;
-
- iov_iter_init(&from, WRITE, iov, nr_segs, count);
- return __generic_file_write_iter(iocb, &from);
-}
-EXPORT_SYMBOL(__generic_file_aio_write);
-
/**
* generic_file_write_iter - write data to a file
* @iocb: IO state structure