]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSD.h: fix try_stop_deletion 274/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sat, 11 May 2013 17:51:02 +0000 (19:51 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Sat, 11 May 2013 17:58:43 +0000 (19:58 +0200)
commit459c7311450633738e9137b164fb5fcea524e93d
tree5538a68a7f813f50a280fc600e22761aa7e7a8e4
parentb5e9b56fc93dd4896c802aff1096430b523ad84c
osd/OSD.h: fix try_stop_deletion

Fix try_stop_deletion(): The comment above the while loop says "If we are
in DELETING_DIR or DELETED_DIR", but the while loop checks for DELETING_DIR
twice. Change one check to DELETED_DIR otherwise on state get missed.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/osd/OSD.h