]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
SimpleThrottle: fix -ENOENT checking 281/head
authorJosh Durgin <josh.durgin@inktank.com>
Mon, 13 May 2013 21:49:42 +0000 (14:49 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Mon, 13 May 2013 21:49:46 +0000 (14:49 -0700)
commit395a775a8c87b0ee1ce314257e25240214f4081c
tree90c3c8453a4a584e4de4fdfe55ad7c22881c602a
parent88af2b0f7b951367e670869db76e57f0d970aa38
SimpleThrottle: fix -ENOENT checking

The condition was reversed. Rewrite it so it's clear that we're
ignoring -ENOENT only when m_ignore_enoent is set.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
src/common/Throttle.cc