[PATCH] splice: pass offset around for ->splice_read() and ->splice_write()
authorJens Axboe <axboe@suse.de>
Tue, 11 Apr 2006 12:57:50 +0000 (14:57 +0200)
committerJens Axboe <axboe@nelson.home.kernel.dk>
Tue, 11 Apr 2006 13:47:07 +0000 (15:47 +0200)
commitcbb7e577e732f576b9f399bc2600bdc0626c68dc
tree55e3d65c9d9fb5b0ee25d0ccabf951de6da2db7b
parent2514395ef88b46e895726a8d40966cb83de7940c
[PATCH] splice: pass offset around for ->splice_read() and ->splice_write()

We need not use ->f_pos as the offset for the file input/output. If the
user passed an offset pointer in through sys_splice(), just use that and
leave ->f_pos alone.

Signed-off-by: Jens Axboe <axboe@suse.de>
fs/splice.c
fs/xfs/linux-2.6/xfs_file.c
fs/xfs/linux-2.6/xfs_lrw.c
fs/xfs/linux-2.6/xfs_lrw.h
fs/xfs/linux-2.6/xfs_vnode.h
include/linux/fs.h