diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-04-03 03:32:25 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-05-06 17:39:37 -0400 |
commit | a8f3550cd228b6edc5d17fce1a9af8cc7004f185 (patch) | |
tree | 45c336178fff2cba85d445d6973a159776297669 /mm | |
parent | 3dae8750c368f8ac11c3c8c2a28f56dcee865c01 (diff) |
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')
-rw-r--r-- | mm/filemap.c | 11 |
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: | |||
2645 | } | 2645 | } |
2646 | EXPORT_SYMBOL(__generic_file_write_iter); | 2646 | EXPORT_SYMBOL(__generic_file_write_iter); |
2647 | 2647 | ||
2648 | ssize_t __generic_file_aio_write(struct kiocb *iocb, const struct iovec *iov, | ||
2649 | unsigned long nr_segs) | ||
2650 | { | ||
2651 | size_t count = iov_length(iov, nr_segs); | ||
2652 | struct iov_iter from; | ||
2653 | |||
2654 | iov_iter_init(&from, WRITE, iov, nr_segs, count); | ||
2655 | return __generic_file_write_iter(iocb, &from); | ||
2656 | } | ||
2657 | EXPORT_SYMBOL(__generic_file_aio_write); | ||
2658 | |||
2659 | /** | 2648 | /** |
2660 | * generic_file_write_iter - write data to a file | 2649 | * generic_file_write_iter - write data to a file |
2661 | * @iocb: IO state structure | 2650 | * @iocb: IO state structure |