]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/ceph/auth_x.c
libceph: fix authorizer invalidation
[karo-tx-linux.git] / net / ceph / auth_x.c
index a16bf14eb027cd4e765320f98b0fb378b5a5e7c4..bd8758dbfded1d2d8db1feb0fee68127f0d30146 100644 (file)
@@ -630,7 +630,7 @@ static void ceph_x_invalidate_authorizer(struct ceph_auth_client *ac,
 
        th = get_ticket_handler(ac, peer_type);
        if (!IS_ERR(th))
-               remove_ticket_handler(ac, th);
+               memset(&th->validity, 0, sizeof(th->validity));
 }