Whamcloud - gitweb
LU-3963 obdclass: convert to linux list api
[fs/lustre-release.git] / lustre / include / obd_target.h
index d387aa1..330d44f 100644 (file)
@@ -52,15 +52,12 @@ struct obd_device_target {
 
 struct filter_obd {
        /* NB this field MUST be first */
-       struct obd_device_target        fo_obt;
-       rwlock_t                        fo_sptlrpc_lock;
-       struct sptlrpc_rule_set         fo_sptlrpc_rset;
+       struct obd_device_target         fo_obt;
 
        /* capability related */
-       unsigned int                    fo_fl_oss_capa;
-       cfs_list_t                      fo_capa_keys;
-       cfs_hlist_head_t               *fo_capa_hash;
-       int                             fo_sec_level;
+       unsigned int                     fo_fl_oss_capa;
+       struct list_head                 fo_capa_keys;
+       struct hlist_head               *fo_capa_hash;
 };
 
 struct echo_obd {
@@ -69,7 +66,7 @@ struct echo_obd {
        spinlock_t                      eo_lock;
        __u64                           eo_lastino;
        struct lustre_handle            eo_nl_lock;
-       cfs_atomic_t                    eo_prep;
+       atomic_t                        eo_prep;
 };
 
 struct ost_obd {