diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-23 20:10:34 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-29 12:57:08 +0400 |
commit | 50cd2c577668a170750b15f9a88f022f681ce3c7 (patch) | |
tree | 62afbdc61a8f8670a19d5d39882e4907b92dc09c /fs/splice.c | |
parent | 500368f7fbdd888038d3dda579823e9515f63a3b (diff) | |
download | op-kernel-dev-50cd2c577668a170750b15f9a88f022f681ce3c7.zip op-kernel-dev-50cd2c577668a170750b15f9a88f022f681ce3c7.tar.gz |
lift file_*_write out of do_splice_direct()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/splice.c')
-rw-r--r-- | fs/splice.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/splice.c b/fs/splice.c index fed5134..78b3d12 100644 --- a/fs/splice.c +++ b/fs/splice.c @@ -1303,11 +1303,9 @@ long do_splice_direct(struct file *in, loff_t *ppos, struct file *out, }; long ret; - file_start_write(out); ret = splice_direct_to_actor(in, &sd, direct_splice_actor); if (ret > 0) *ppos = sd.pos; - file_end_write(out); return ret; } |