ceph: avoid block operation when !TASK_RUNNING (ceph_mdsc_sync)
authorYan, Zheng <zyan@redhat.com>
Thu, 8 Jan 2015 13:30:12 +0000 (21:30 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 19 Feb 2015 10:31:38 +0000 (13:31 +0300)
check_cap_flush() calls mutex_lock(), which may block. So we can't
use it as condition check function for wait_event();

Signed-off-by: Yan, Zheng <zyan@redhat.com>

No differences found