X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=fs%2Fsplice.c;h=633f58ebfb72a2ad7b132adb7492f7c268daecca;hb=de368dceb33c3c068dbde1407aff75cd8e126f04;hp=eeb1a86a701467fcc90882f803ff7b39585003fc;hpb=c7cd5b98072f7e04a50415b9501793bd905ecc16;p=linux-2.6-omap-h63xx.git diff --git a/fs/splice.c b/fs/splice.c index eeb1a86a701..633f58ebfb7 100644 --- a/fs/splice.c +++ b/fs/splice.c @@ -1075,7 +1075,7 @@ long do_splice_direct(struct file *in, loff_t *ppos, struct file *out, ret = splice_direct_to_actor(in, &sd, direct_splice_actor); if (ret > 0) - *ppos += ret; + *ppos = sd.pos; return ret; }