diff options
author | Henry C Chang <henry.cy.chang@gmail.com> | 2011-05-03 04:29:56 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-05-03 18:28:11 +0200 |
commit | ca20892db7567c40e8ed0668f46cf0d085d7db6d (patch) | |
tree | 80fe0a4cf9304b834e9faadbc08fb293db78cc84 /virt | |
parent | ceph: use ihold() when i_lock is held (diff) | |
download | linux-ca20892db7567c40e8ed0668f46cf0d085d7db6d.tar.xz linux-ca20892db7567c40e8ed0668f46cf0d085d7db6d.zip |
libceph: fix ceph_msg_new error path
If memory allocation failed, calling ceph_msg_put() will cause GPF
since some of ceph_msg variables are not initialized first.
Fix Bug #970.
Signed-off-by: Henry C Chang <henry_c_chang@tcloudcomputing.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions