]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OpTracker: clarify that unregister_inflight_op is only called if enabled
authorSamuel Just <sam.just@inktank.com>
Sat, 1 Mar 2014 21:54:53 +0000 (13:54 -0800)
committerSamuel Just <sam.just@inktank.com>
Sat, 1 Mar 2014 22:54:06 +0000 (14:54 -0800)
commit59ff572fd6b0e331635a710769b02332bdb982dc
treeb2873525d96e4f5c0cab74288be28b5a30708661
parentfc9b8ef06bf95526df60bfcbf954b969e3892c15
OpTracker: clarify that unregister_inflight_op is only called if enabled

The !tracking_enabled branch actually had a leak which was unreachable
since the caller does the check for tracking_enabled.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/common/TrackedOp.cc