On Thu, Mar 27, 2014 at 9:49 PM, Alex Elder <elder@xxxxxxxx> wrote: > On 03/27/2014 01:17 PM, Ilya Dryomov wrote: >> The existing error handling scheme requires resetting err to -EINVAL >> prior to calling any ceph_decode_* macro. This is ugly and fragile, >> and there already are a few places where we would return 0 on error, >> due to a missing reset. Follow osdmap_decode() and fix this by adding >> a special e_inval label to be used by all ceph_decode_* macros. > > Same comments as last time. Otherwise, looks good. Replied to the osdmap_decode() comment. Thanks, Ilya -- 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