]> 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
authorJason Dillaman <dillaman@redhat.com>
Sun, 5 Jul 2015 15:09:09 +0000 (11:09 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sun, 19 Jul 2015 17:44:16 +0000 (13:44 -0400)
commit4a77be0a65c8b4ec3dc437721f8c321737b260de
treead3965033e52f3d9bd60eddd965ca918cbaa422f
parent0aea70f68b299441e692efdce6d5e7ff18b78c39
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>
(cherry picked from commit 64d740f8fa10ba872e324ec2580a4d8c3f99a9ce)
src/librbd/ObjectMap.cc