On Saturday, March 16, 2013 at 5:38 AM, Henry C Chang wrote: > The following patch should fix the problem. > > -Henry > > diff --git a/fs/ceph/file.c b/fs/ceph/file.c > index e51558f..4bcbcb6 100644 > --- a/fs/ceph/file.c > +++ b/fs/ceph/file.c > @@ -608,7 +608,7 @@ out: > pos += len; > written += len; > left -= len; > - data += written; > + data += len; > if (left) > goto more; This looks good to me. If you'd like to submit it as a proper patch with a sign-off I'll pull it into our tree. :) -Greg Software Engineer #42 @ http://inktank.com | http://ceph.com -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html