[Sheepdog] [PATCH 1/3] sheep: fix get_nr_copies()

Christoph Hellwig hch at infradead.org
Mon Apr 30 18:00:36 CEST 2012


On Mon, Apr 30, 2012 at 04:53:45PM +0800, Liu Yuan wrote:
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> We should never return anything greater than sys->nr_copies.

Thanks, this got messed up rebasing.  Might be worth to use min() here
to make the intent more clear.




More information about the sheepdog mailing list