Emil Goode c213b50b7d ceph: improve error handling in ceph_mdsmap_decode
This patch makes the following improvements to the error handling
in the ceph_mdsmap_decode function:

- Add a NULL check for return value from kcalloc
- Make use of the variable err

Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-01 09:52:02 -07:00
..
2013-05-07 20:16:25 -07:00
2013-05-01 21:18:50 -07:00
2012-05-16 14:28:27 -05:00
2013-05-01 21:20:09 -07:00