]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: Fix for #3184 cfuse segv with no keyring
authorSam Lang <sam.lang@inktank.com>
Mon, 24 Sep 2012 16:55:25 +0000 (09:55 -0700)
committerSage Weil <sage@inktank.com>
Wed, 26 Sep 2012 15:24:25 +0000 (08:24 -0700)
commit47983df4cbd31f299eef896b4612d3837bd7c7bd
treeda99b4c3d7c4b0b9e8ad94f13dbc5fece0e77786
parentf310a1c5e6bbdbc0014d8de9de90f4e8c9ff581d
client: Fix for #3184 cfuse segv with no keyring

Fixes bug #3184 where the ceph-fuse client segfaults if authx is
enabled but no keyring file is present.  This was due to the
client->init() return value not getting checked.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
src/ceph_fuse.cc
src/client/Client.cc