]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: check if waiting is allocated before use
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 12 Sep 2017 21:31:18 +0000 (14:31 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 14 Sep 2017 03:22:06 +0000 (20:22 -0700)
commit97fdc68e029ed1567eff7c5d13a6c1c29bfe5d33
tree30e62fadd198746f4baef0a39b6c849316424ea0
parentd50f2c735ac40b9ccfbd8d3423fd817f76de9c3c
mds: check if waiting is allocated before use

This prevents accidental allocation of the map.

Also, privatize the variable to protect from this in child classes.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 055020ce80b1f08d258b4c023bf5465ed7a46034)
src/mds/MDSCacheObject.h