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 02:02:45 +0000 (10:02 +0800)
commit5da90d0018a7f9ed23698663d046146426991ffa
treedc03976be54b438d455f5a661d663f9d6cea83fc
parentff61e0123b7d8fe13ae8b6f96e5c3abfc11357fc
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