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)
commit9542cf0bf9b1a3adcc2ef271edbcbdba03abf345
tree6df890d01929cf320f3498e25185a34540053349
parent17c1cc1d9293a568a00545469078e29555cc7f39
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