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)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Feb 2017 12:06:03 +0000 (13:06 +0100)
commitdf963ea8a082d31521a120e8e31a29ad8a1dc215
treef6c00e2e18cf9d01ca7bcb8d698349d033e9e7f2
parentb9942bc9d3c70d359496a1a0afc528d4ab89be46
ceph: remove req from unsafe list when unregistering it

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

Cc: stable@vger.kernel.org
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>
fs/ceph/mds_client.c