Re: [PATCH] ceph: fix buffer pointer advance in ceph_sync_write

2013-03-19 Thread Greg Farnum
Sage beat me to it and merged this in last night. Thanks much! -Greg Software Engineer #42 @ http://inktank.com | http://ceph.com On Monday, March 18, 2013 at 6:46 PM, Henry C Chang wrote: We should advance the user data pointer by _len_ instead of _written_. _len_ is the data length written

[PATCH] ceph: fix buffer pointer advance in ceph_sync_write

2013-03-18 Thread Henry C Chang
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.ch...@gmail.com --- fs/ceph/file.c |2 +- 1 file changed, 1