diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2009-04-14 13:48:40 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-15 06:10:12 -0400 |
commit | f8cc774ce4844811a55e2352f1443055e3994e28 (patch) | |
tree | a9d95b3d23044ff6217b76135d0be1661ffbc5e7 /include | |
parent | 328eaaba4e41a04c1dc4679d65bea3fee4349d86 (diff) |
splice: remove generic_file_splice_write_nolock()
Remove the now unused generic_file_splice_write_nolock() function.
It's conceptually broken anyway, because splice may need to wait for
pipe events so holding locks across the whole operation is wrong.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index b535aec4406b..907d8f56c6fa 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -2209,8 +2209,6 @@ extern ssize_t generic_file_splice_read(struct file *, loff_t *, | |||
2209 | struct pipe_inode_info *, size_t, unsigned int); | 2209 | struct pipe_inode_info *, size_t, unsigned int); |
2210 | extern ssize_t generic_file_splice_write(struct pipe_inode_info *, | 2210 | extern ssize_t generic_file_splice_write(struct pipe_inode_info *, |
2211 | struct file *, loff_t *, size_t, unsigned int); | 2211 | struct file *, loff_t *, size_t, unsigned int); |
2212 | extern ssize_t generic_file_splice_write_nolock(struct pipe_inode_info *, | ||
2213 | struct file *, loff_t *, size_t, unsigned int); | ||
2214 | extern ssize_t generic_splice_sendpage(struct pipe_inode_info *pipe, | 2212 | extern ssize_t generic_splice_sendpage(struct pipe_inode_info *pipe, |
2215 | struct file *out, loff_t *, size_t len, unsigned int flags); | 2213 | struct file *out, loff_t *, size_t len, unsigned int flags); |
2216 | extern long do_splice_direct(struct file *in, loff_t *ppos, struct file *out, | 2214 | extern long do_splice_direct(struct file *in, loff_t *ppos, struct file *out, |