diff --git a/fs/ceph/file.c b/fs/ceph/file.c index 0ac6e159bdc6..aeafa67bfe99 100644 --- a/fs/ceph/file.c +++ b/fs/ceph/file.c @@ -611,7 +611,7 @@ static ssize_t ceph_sync_write(struct file *file, const char __user *data, pos += len; written += len; left -= len; - data += written; + data += len; if (left) goto more;