Whamcloud - gitweb
LU-8066 obd_type: discard obd_type_lock
[fs/lustre-release.git] / lustre / include / obd.h
index c1c1f37..96c77a0 100644 (file)
@@ -106,9 +106,8 @@ struct obd_type {
 #ifdef HAVE_SERVER_SUPPORT
        bool                     typ_sym_filter;
 #endif
-       int                      typ_refcnt;
+       atomic_t                 typ_refcnt;
        struct lu_device_type   *typ_lu;
-       spinlock_t               obd_type_lock;
        struct kobject           typ_kobj;
 };
 #define typ_name typ_kobj.name