]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: Remove unneeded set_event_notify
authorHaomai Wang <haomai@xsky.com>
Mon, 9 Nov 2015 15:05:01 +0000 (23:05 +0800)
committerHaomai Wang <haomai@xsky.com>
Tue, 1 Dec 2015 02:03:48 +0000 (10:03 +0800)
commitbddab3ef21f209d2ddb42c153cc168a6b355cd66
tree8a6793c2f25cd05c900475af86fa4c7535108b99
parentd625b89c0efbce7b15c07fb9a0597263276d2d03
librbd: Remove unneeded set_event_notify

Since xlist clear method invoked below is enough to disassociate the xlist
item from the xlist, so the remove_myself() call in the destructor is safe
to invoke since it's already been removed from the list.

Signed-off-by: Haomai Wang <haomai@xsky.com>
src/librbd/ImageCtx.cc