[sheepdog] [PATCH 2/2] sheep: fix error handling in local_stat_cluster
Christoph Hellwig
hch at infradead.org
Wed Jun 6 12:40:35 CEST 2012
On Wed, Jun 06, 2012 at 06:39:08AM -0400, Christoph Hellwig wrote:
> On Wed, Jun 06, 2012 at 10:40:07AM +0800, Liu Yuan wrote:
> > epoch_log_read_remote() doesn't return -1, so no need to check it. Also
> > need remove {} for one liner if clause.
>
> Oops, forgot to send the updated one when I made the first patch not
> return -1. I'll resend this one, but any reason the updated version of
> patch 1 isn't in?
Actually we should simply discard this patch 2 - local_stat_cluster
handles the 0 return just fine. So we'll only need to apply v2 of
patch 1.
More information about the sheepdog
mailing list