[sheepdog] [PATCH v4 3/8] sheep: make gateway to retry when received SD_RES_OLD_NODE_VER

Christoph Hellwig hch at infradead.org
Fri May 25 16:29:44 CEST 2012


> +			if (req->rp.epoch > sys->epoch &&
> +				req->rp.result == SD_RES_OLD_NODE_VER) {
> +				list_add_tail(&req->request_list,
> +						&sys->wait_rw_queue);

This indentation is rather confusing, it should be something like:

			if (req->rp.epoch > sys->epoch &&
			    req->rp.result == SD_RES_OLD_NODE_VER) {
				list_add_tail(&req->request_list,
			



More information about the sheepdog mailing list