From: Henry C Chang Date: Tue, 19 Mar 2013 01:46:26 +0000 (+0800) Subject: ceph: fix buffer pointer advance in ceph_sync_write X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~26^2~188 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=022f3e2ee2354599faccf5a764a5a24a5dd194c9;p=pandora-kernel.git 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 Reviewed-by: Greg Farnum Tested-by: Sage Weil --- Reading git-diff-tree failed