libceph: do not dereference a NULL bio pointer
authorIlya Dryomov <ilya.dryomov@inktank.com>
Wed, 5 Feb 2014 13:19:55 +0000 (15:19 +0200)
committerSage Weil <sage@inktank.com>
Fri, 7 Feb 2014 19:37:07 +0000 (11:37 -0800)
commit0ec1d15ec6ed513ab2cc86c67d94761d71228a32
treecc8da7ba4af20ea86d1dccdbedcffeb19ddd2059
parentff513ace9b772e75e337f8e058cc7f12816843fe
libceph: do not dereference a NULL bio pointer

Commit f38a5181d9f3 ("ceph: Convert to immutable biovecs") introduced
a NULL pointer dereference, which broke rbd in -rc1.  Fix it.

Cc: Kent Overstreet <kmo@daterainc.com>
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/messenger.c