X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Fobd.h;h=96c77a007b09f59bd1953185e76d5aca5fa0b845;hb=6722a95fd0416fa6f24140130ea8a1e0df5f1542;hp=c1c1f37d681981c24a9a952390c42c2f7e2b9807;hpb=fafb52290c675e36b09d1de88cdd65ba981cb3a0;p=fs%2Flustre-release.git diff --git a/lustre/include/obd.h b/lustre/include/obd.h index c1c1f37..96c77a0 100644 --- a/lustre/include/obd.h +++ b/lustre/include/obd.h @@ -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