]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs: avoid map been inserted by mistake 29304/head
authorXiao Guodong <xiaogd@inspur.com>
Thu, 25 Jul 2019 08:36:05 +0000 (16:36 +0800)
committerXiao Guodong <xiaogd@inspur.com>
Fri, 26 Jul 2019 02:27:54 +0000 (10:27 +0800)
commit1959fee90a3f4eb351b2975a56b386a0a516239d
tree3c7ec2528aa2e982ac2cf893f9836ad706c5606c
parenta29700e5e7b518d1fb3099dec464010cf57a4580
cephfs: avoid map been inserted by mistake

if map client_caps has not key client, client_caps[client] will insert key client with null value into the map.

Fixes: https://tracker.ceph.com/issues/40939
Signed-off-by: XiaoGuoDong2019 <xiaogd@inspur.com>
src/mds/SnapRealm.h