]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/splice.c
splice: always updated atime in direct splice
[linux-2.6-omap-h63xx.git] / fs / splice.c
index 1577a7391d23fa47cd74fb5089278dba81daee55..4ee49e86edde5a2272781b6e49e0371b721ceb33 100644 (file)
@@ -1033,9 +1033,7 @@ ssize_t splice_direct_to_actor(struct file *in, struct splice_desc *sd,
 
 done:
        pipe->nrbufs = pipe->curbuf = 0;
-       if (bytes > 0)
-               file_accessed(in);
-
+       file_accessed(in);
        return bytes;
 
 out_release: