]> git.baikalelectronics.ru Git - kernel.git/commit
libceph: use pg_num_mask instead of pgp_num_mask for pg.seed calc
authorSage Weil <sage@inktank.com>
Thu, 29 Aug 2013 00:17:29 +0000 (17:17 -0700)
committerSage Weil <sage@inktank.com>
Wed, 4 Sep 2013 05:08:10 +0000 (22:08 -0700)
commita6f7952626b56f0721369ea47501418c8585e780
tree6df890d01929cf320f3498e25185a34540053349
parent4ff9c4870eb59d254eba011352fa73e9810ad039
libceph: use pg_num_mask instead of pgp_num_mask for pg.seed calc

Fix a typo that used the wrong bitmask for the pg.seed calculation.  This
is normally unnoticed because in most cases pg_num == pgp_num.  It is, however,
a bug that is easily corrected.

CC: stable@vger.kernel.org
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <alex.elder@linary.org>
net/ceph/osdmap.c