summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-07-30 08:24:27 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-08-11 22:34:47 +0200
commitec05b297f91a443aa26b74059b573bfad49c9ebb (patch)
tree4890ea53de4373e51688e72576781909588515a3 /mm
parentac07860264bd2b18834d3fa3be47032115524cea (diff)
downloadlinux-3.10-ec05b297f91a443aa26b74059b573bfad49c9ebb.tar.gz
linux-3.10-ec05b297f91a443aa26b74059b573bfad49c9ebb.tar.bz2
linux-3.10-ec05b297f91a443aa26b74059b573bfad49c9ebb.zip
[PATCH] remove mm/filemap.c:file_send_actor()
This patch removes the no longer used file_send_actor(). Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'mm')
-rw-r--r--mm/filemap.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 6cf700d4184..50021a60d01 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -1218,26 +1218,6 @@ out:
}
EXPORT_SYMBOL(generic_file_aio_read);
-int file_send_actor(read_descriptor_t * desc, struct page *page, unsigned long offset, unsigned long size)
-{
- ssize_t written;
- unsigned long count = desc->count;
- struct file *file = desc->arg.data;
-
- if (size > count)
- size = count;
-
- written = file->f_op->sendpage(file, page, offset,
- size, &file->f_pos, size<count);
- if (written < 0) {
- desc->error = written;
- written = 0;
- }
- desc->count = count - written;
- desc->written += written;
- return written;
-}
-
static ssize_t
do_readahead(struct address_space *mapping, struct file *filp,
unsigned long index, unsigned long nr)