diff options
author | Henry C Chang <henry.cy.chang@gmail.com> | 2013-03-19 09:46:26 +0800 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-01 21:17:08 -0700 |
commit | 022f3e2ee2354599faccf5a764a5a24a5dd194c9 (patch) | |
tree | 02294b663ff124edee88f98ddcb32397c83ffe08 /fs/ceph/super.h | |
parent | 2f276c511137d97e56b19e29865e1e6569315ccb (diff) | |
download | linux-3.10-022f3e2ee2354599faccf5a764a5a24a5dd194c9.tar.gz linux-3.10-022f3e2ee2354599faccf5a764a5a24a5dd194c9.tar.bz2 linux-3.10-022f3e2ee2354599faccf5a764a5a24a5dd194c9.zip |
ceph: fix buffer pointer advance in ceph_sync_write
We should advance the user data pointer by _len_ instead of _written_.
_len_ is the data length written in each iteration while _written_ is the
accumulated data length we have writtent out.
Signed-off-by: Henry C Chang <henry.cy.chang@gmail.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Tested-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs/ceph/super.h')
0 files changed, 0 insertions, 0 deletions