diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/internal.h | 6 | ||||
-rw-r--r-- | fs/splice.c | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/fs/internal.h b/fs/internal.h index 9477f8f6aefc..0f0626a6997c 100644 --- a/fs/internal.h +++ b/fs/internal.h | |||
@@ -139,12 +139,6 @@ extern long prune_dcache_sb(struct super_block *sb, unsigned long nr_to_scan, | |||
139 | extern int rw_verify_area(int, struct file *, const loff_t *, size_t); | 139 | extern int rw_verify_area(int, struct file *, const loff_t *, size_t); |
140 | 140 | ||
141 | /* | 141 | /* |
142 | * splice.c | ||
143 | */ | ||
144 | extern long do_splice_direct(struct file *in, loff_t *ppos, struct file *out, | ||
145 | loff_t *opos, size_t len, unsigned int flags); | ||
146 | |||
147 | /* | ||
148 | * pipe.c | 142 | * pipe.c |
149 | */ | 143 | */ |
150 | extern const struct file_operations pipefifo_fops; | 144 | extern const struct file_operations pipefifo_fops; |
diff --git a/fs/splice.c b/fs/splice.c index f5cb9ba84510..75c6058eabf2 100644 --- a/fs/splice.c +++ b/fs/splice.c | |||
@@ -1330,6 +1330,7 @@ long do_splice_direct(struct file *in, loff_t *ppos, struct file *out, | |||
1330 | 1330 | ||
1331 | return ret; | 1331 | return ret; |
1332 | } | 1332 | } |
1333 | EXPORT_SYMBOL(do_splice_direct); | ||
1333 | 1334 | ||
1334 | static int splice_pipe_to_pipe(struct pipe_inode_info *ipipe, | 1335 | static int splice_pipe_to_pipe(struct pipe_inode_info *ipipe, |
1335 | struct pipe_inode_info *opipe, | 1336 | struct pipe_inode_info *opipe, |