ceph: fix ceph_get_caps() interruption
authorYan, Zheng <zyan@redhat.com>
Thu, 22 Dec 2016 08:05:43 +0000 (16:05 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 18 Jan 2017 16:58:45 +0000 (17:58 +0100)
commit6e09d0fb64402cec579f029ca4c7f39f5c48fc60
tree76681717ce0021c7e37f4554592671c2c4d3c585
parent49def1853334396f948dcb4cedb9347abb318df5
ceph: fix ceph_get_caps() interruption

Commit 5c341ee32881 ("ceph: fix scheduler warning due to nested
blocking") causes infinite loop when process is interrupted.  Fix it.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c