summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-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