ceph: Add check returned value on func ceph_calc_ceph_pg.
authormajianpeng <majianpeng@gmail.com>
Fri, 2 Aug 2013 10:14:48 +0000 (18:14 +0800)
committerSage Weil <sage@inktank.com>
Sat, 10 Aug 2013 00:55:21 +0000 (17:55 -0700)
Func ceph_calc_ceph_pg maybe failed.So add check for returned value.

Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Signed-off-by: Sage Weil <sage@inktank.com>

No differences found