unsigned short oap_cmd;
unsigned short oap_interrupted:1;
- cfs_list_t oap_pending_item;
- cfs_list_t oap_rpc_item;
+ struct list_head oap_pending_item;
+ struct list_head oap_rpc_item;
obd_off oap_obj_off;
unsigned oap_page_off;
}
struct osc_cache_waiter {
- cfs_list_t ocw_entry;
- wait_queue_head_t ocw_waitq;
+ struct list_head ocw_entry;
+ wait_queue_head_t ocw_waitq;
struct osc_async_page *ocw_oap;
int ocw_grant;
int ocw_rc;
int osc_process_config_base(struct obd_device *obd, struct lustre_cfg *cfg);
int osc_build_rpc(const struct lu_env *env, struct client_obd *cli,
- cfs_list_t *ext_list, int cmd, pdl_policy_t p);
+ struct list_head *ext_list, int cmd, pdl_policy_t p);
int osc_lru_shrink(const struct lu_env *env, struct client_obd *cli,
int target, bool force);
int osc_lru_reclaim(struct client_obd *cli);
extern struct kmem_cache *osc_quota_kmem;
struct osc_quota_info {
- /** linkage for quota hash table */
- cfs_hlist_node_t oqi_hash;
- obd_uid oqi_id;
+ /** linkage for quota hash table */
+ struct hlist_node oqi_hash;
+ obd_uid oqi_id;
};
int osc_quota_setup(struct obd_device *obd);
int osc_quota_cleanup(struct obd_device *obd);