At Tue, 1 May 2012 02:31:03 +0800, Liu Yuan wrote: > > From: Liu Yuan <tailai.ly at taobao.com> > > We should never return anything greater than sys->nr_copies. > > - use min() to get the better readability > - change sys->nr_copies as 'int' to stay in line with nr_zones > > Signed-off-by: Liu Yuan <tailai.ly at taobao.com> > --- > sheep/group.c | 5 +---- > sheep/sheep_priv.h | 2 +- > 2 files changed, 2 insertions(+), 5 deletions(-) Applied, thanks! Kazutaka |