From: Emil Goode Date: Tue, 28 May 2013 14:59:00 +0000 (+0200) Subject: ceph: improve error handling in ceph_mdsmap_decode X-Git-Tag: v3.11-rc1~69^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c213b50b7dcbf06abcfbf1e4eee5b76586718bd9;p=pandora-kernel.git 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 Signed-off-by: Sage Weil --- Reading git-diff-tree failed