Whamcloud - gitweb
LU-641 obdclass: use rwlock for obd_dev_lock
[fs/lustre-release.git] / lustre / include / obd_class.h
index 198b10a..df7cd84 100644 (file)
@@ -63,7 +63,7 @@
 
 /* OBD Device Declarations */
 extern struct obd_device *obd_devs[MAX_OBD_DEVICES];
-extern cfs_spinlock_t obd_dev_lock;
+extern cfs_rwlock_t obd_dev_lock;
 
 /* OBD Operations Declarations */
 extern struct obd_device *class_conn2obd(struct lustre_handle *);