diff options
-rw-r--r-- | fs/ceph/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ out: pos += len; written += len; left -= len; - data += written; + data += len; if (left) goto more; |