Fix "skip_devcount" during rebalance
commit7c89846c9119efddb29e99665dc9e483f4831ef7
authorPyry Hakulinen <pyry@automattic.com>
Wed, 17 Oct 2012 18:28:16 +0000 (17 21:28 +0300)
committerEric Wong <normalperson@yhbt.net>
Sat, 5 Jan 2013 00:04:34 +0000 (5 00:04 +0000)
treeb8d62bdcc90bc95368df6e4d13f3691ca91b9ce7
parentfae96638ab8d7f385fc9ab14577ce4cbe7fc9835
Fix "skip_devcount" during rebalance

We were updating devcount field even when skip_devcount was true. We
should not use $sto here because we already have FID object and nice
method available for this.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
lib/MogileFS/DevFID.pm