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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Sep 2013 00:18:29 +0000 (17:18 -0700)
commitfd5e2dea537bbf0bfb09f79a8b34c148bb502735
tree4523f74a0b3ca7946260e1d59d661414e9ba1a99
parent2ab0ad6af3a87818ea3525914be6779fca833801
libceph: use pg_num_mask instead of pgp_num_mask for pg.seed calc

commit 9542cf0bf9b1a3adcc2ef271edbcbdba03abf345 upstream.

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.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <alex.elder@linary.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ceph/osdmap.c