libceph: fix ceph_osdc_alloc_request error checks
authorSage Weil <sage@newdream.net>
Tue, 3 May 2011 16:23:36 +0000 (09:23 -0700)
committerSage Weil <sage@newdream.net>
Tue, 3 May 2011 16:28:13 +0000 (09:28 -0700)
commit4ad12621e442b7a072e81270808f617cb65c5672
treeeecdd1d51f525b9b07c70f8fbcf08c9ede3b8f79
parent8c71897be2ddfd84969412635ca42fa9e137f7b6
libceph: fix ceph_osdc_alloc_request error checks

ceph_osdc_alloc_request returns NULL on failure.

Signed-off-by: Sage Weil <sage@newdream.net>
drivers/block/rbd.c
net/ceph/osd_client.c