From: Sage Weil Date: Thu, 1 Apr 2010 23:06:19 +0000 (-0700) Subject: ceph: make ceph_msg_new return NULL on failure; clean up, fix callers X-Git-Tag: v2.6.35-rc1~419^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a79832f26be370ee26ea81eecdfd42d10e49d66a;p=pandora-kernel.git ceph: make ceph_msg_new return NULL on failure; clean up, fix callers Returning ERR_PTR(-ENOMEM) is useless extra work. Return NULL on failure instead, and fix up the callers (about half of which were wrong anyway). Signed-off-by: Sage Weil --- Reading git-diff-tree failed