aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/ocfs2/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index 5727cd18302a..c4034f693e7b 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -2153,7 +2153,7 @@ static int ocfs2_splice_write_actor(struct pipe_inode_info *pipe,
2153 src = buf->ops->map(pipe, buf, 1); 2153 src = buf->ops->map(pipe, buf, 1);
2154 dst = kmap_atomic(page, KM_USER1); 2154 dst = kmap_atomic(page, KM_USER1);
2155 memcpy(dst + offset, src + buf->offset, count); 2155 memcpy(dst + offset, src + buf->offset, count);
2156 kunmap_atomic(page, KM_USER1); 2156 kunmap_atomic(dst, KM_USER1);
2157 buf->ops->unmap(pipe, buf, src); 2157 buf->ops->unmap(pipe, buf, src);
2158 2158
2159 copied = ocfs2_write_end(file, file->f_mapping, sd->pos, count, count, 2159 copied = ocfs2_write_end(file, file->f_mapping, sd->pos, count, count,