ceph: avoid block operation when !TASK_RUNNING (ceph_get_caps)
authorYan, Zheng <zyan@redhat.com>
Fri, 9 Jan 2015 07:56:18 +0000 (15:56 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 19 Feb 2015 10:31:38 +0000 (13:31 +0300)
we should not do block operation in wait_event_interruptible()'s condition
check function, but reading inline data can block. so move the read inline
data code to ceph_get_caps()

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

No differences found