rbd: null vs ERR_PTR
authorDan Carpenter <error27@gmail.com>
Mon, 11 Oct 2010 19:14:23 +0000 (21:14 +0200)
committerSage Weil <sage@newdream.net>
Wed, 20 Oct 2010 22:38:24 +0000 (15:38 -0700)
commitb8d0638a98aa4a42ff322234b882487cd74e5c52
tree4ab89ab0a293d404466106dd6bced5d68c171ce1
parent240634e9b3a8ae2a9e2b7effeea3b9a5b30d68fb
rbd: null vs ERR_PTR

ceph_alloc_page_vector() returns ERR_PTR(-ENOMEM) on errors.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Sage Weil <sage@newdream.net>
drivers/block/rbd.c