ceph: fix possible NULL pointer dereference
authorMariusz Kozlowski <mk@lab.zgora.pl>
Sat, 26 Mar 2011 18:29:34 +0000 (19:29 +0100)
committerSage Weil <sage@newdream.net>
Sat, 26 Mar 2011 20:41:20 +0000 (13:41 -0700)
commit6b0ae4097c1ebad98c7b33f83b4ca7e93890ed12
tree27db559925e8e3f08522d83f4a6f3b7d32a9f2fa
parentef550f6f4f6c9345a27ec85d98f4f7de1adce79c
ceph: fix possible NULL pointer dereference

This patch fixes 'event_work' dereference before it is checked for NULL.

Signed-off-by: Mariusz Kozlowski <mk@lab.zgora.pl>
Signed-off-by: Sage Weil <sage@newdream.net>
net/ceph/osd_client.c