commit | 2fbcbff1d6b9243ef71c64a8ab993bc3c7bb7af1 | [log] [tgz] |
---|---|---|
author | majianpeng <majianpeng@gmail.com> | Fri Aug 02 18:14:48 2013 +0800 |
committer | Sage Weil <sage@inktank.com> | Fri Aug 09 17:55:21 2013 -0700 |
tree | d06fed7336af28fc14bca3b2c988320ce880e717 | |
parent | 7ab9b3807097fcb87b0e85a9ad82b12322d9cc63 [diff] |
ceph: Add check returned value on func ceph_calc_ceph_pg. 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>