]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
bury __generic_file_aio_write()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 3 Apr 2014 07:32:25 +0000 (03:32 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 23 Apr 2014 17:51:56 +0000 (13:51 -0400)
all users converted to __generic_file_write_iter() now

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/fs.h
mm/filemap.c

index 7a180955f2f3fcaae0e7d62b8c5e96c553aa9851..16f6de077604090303471c23622d7a8ab6fc3cc8 100644 (file)
@@ -2413,7 +2413,6 @@ extern int generic_file_remap_pages(struct vm_area_struct *, unsigned long addr,
 int generic_write_checks(struct file *file, loff_t *pos, size_t *count, int isblk);
 extern ssize_t generic_file_aio_read(struct kiocb *, const struct iovec *, unsigned long, loff_t);
 extern ssize_t generic_file_read_iter(struct kiocb *, struct iov_iter *);
-extern ssize_t __generic_file_aio_write(struct kiocb *, const struct iovec *, unsigned long);
 extern ssize_t __generic_file_write_iter(struct kiocb *, struct iov_iter *);
 extern ssize_t generic_file_aio_write(struct kiocb *, const struct iovec *, unsigned long, loff_t);
 extern ssize_t generic_file_write_iter(struct kiocb *, struct iov_iter *);
index 42dd53d7897dc03e1ff5ac07610a21bc53d20818..6d15ce02872cfdecdce6692c7f2fb61397d9f20c 100644 (file)
@@ -2638,17 +2638,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