]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/fs: fix aio submit method 6101/head
authorSage Weil <sage@redhat.com>
Tue, 29 Sep 2015 01:31:23 +0000 (21:31 -0400)
committerSage Weil <sage@redhat.com>
Tue, 29 Sep 2015 01:31:23 +0000 (21:31 -0400)
commit566c8728b602a2da12bbd64ded02197c85dd1be4
tree7cf1f3519c6dfcb4a327a452a6a9bd25321ea9b7
parent04f9ae5724ddeec8d84915711e7e811590621b45
os/fs: fix aio submit method

continue in a do while(false) will always eval false and break
out.  To repeat, we need while (true) and an explicit break.

Reported-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/fs/FS.h