Skip to content
Commit 4d8b8fb4 authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

libceph: simplify ceph_monc_handle_map()



ceph_monc_handle_map() confuses static checkers which report a
false use-after-free on monc->monmap, missing that monc->monmap and
client->monc.monmap is the same pointer.

Use monc->monmap consistently and get rid of "old", which is redundant.

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 8ccf7fcc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment