ceph: remove req from unsafe list when unregistering it
authorJeff Layton <jlayton@redhat.com>
Tue, 14 Feb 2017 15:09:40 +0000 (10:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Mar 2017 01:57:13 +0000 (09:57 +0800)
commit05a9143edb47e7799f191f1015f56eb2dacfee0d
treea574c75a3bc317ab35479f7aa78a3bdf57866a2b
parent485171b1ee8c7cc74cff9881b92b178b1c709663
ceph: remove req from unsafe list when unregistering it

commit df963ea8a082d31521a120e8e31a29ad8a1dc215 upstream.

There's no reason a request should ever be on a s_unsafe list but not
in the request tree.

Link: http://tracker.ceph.com/issues/18474
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ceph/mds_client.c