From: Ilya Dryomov Date: Tue, 24 Dec 2013 19:19:25 +0000 (+0200) Subject: crush: clarify numrep vs endpos X-Git-Tag: v3.14-rc1~71^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab4ce2b5bdb5ca416756df3df6f5c63667a05065;p=pandora-kernel.git crush: clarify numrep vs endpos Pass numrep (the width of the result) separately from the number of results we want *this* iteration. This makes things less awkward when we do a recursive call (for chooseleaf) and want only one item. Reflects ceph.git commit 1b567ee08972f268c11b43fc881e57b5984dd08b. Signed-off-by: Ilya Dryomov Reviewed-by: Sage Weil --- Reading git-diff-tree failed