]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: don't attempt to invalidate an object map in R/O mode 5146/head
authorJason Dillaman <dillaman@redhat.com>
Sun, 5 Jul 2015 15:09:09 +0000 (11:09 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sun, 5 Jul 2015 15:09:09 +0000 (11:09 -0400)
commit64d740f8fa10ba872e324ec2580a4d8c3f99a9ce
tree5b1481d2cb34df33160de3f0dd90ed8e384e80d5
parentfb6f2717fbdcd3e8b9f7d16523ed1c282f028a36
librbd: don't attempt to invalidate an object map in R/O mode

The ImageWatcher is not initialized when in R/O mode, which
resulted in a NULL pointer dereference.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ObjectMap.cc