]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/ceph/auth.h
libceph: wrap auth methods in a mutex
[karo-tx-linux.git] / include / linux / ceph / auth.h
index c9c3b3abe4a3a9e01ac8c7f6a564c45d349439fb..5f3386844134f9a7d467a4a22f0d61f978b0c15f 100644 (file)
@@ -78,6 +78,8 @@ struct ceph_auth_client {
        u64 global_id;          /* our unique id in system */
        const struct ceph_crypto_key *key;     /* our secret key */
        unsigned want_keys;     /* which services we want */
+
+       struct mutex mutex;
 };
 
 extern struct ceph_auth_client *ceph_auth_init(const char *name,