X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Fdt_object.h;h=acf22f5daf2b141e14e8f4c43a6ce7466e793af8;hp=9247b4d996b555904a3d4db34e1f21438bb06cd7;hb=8701e7e4b5ec1b34700c95b9b6588f4745730b72;hpb=bc34babc1765f6f99220256e96ce5dc5bb390676 diff --git a/lustre/include/dt_object.h b/lustre/include/dt_object.h index 9247b4d9..acf22f5 100644 --- a/lustre/include/dt_object.h +++ b/lustre/include/dt_object.h @@ -105,10 +105,10 @@ typedef void (*dt_cb_t)(struct lu_env *env, struct thandle *th, #define MAX_COMMIT_CB_STR_LEN 32 struct dt_txn_commit_cb { - cfs_list_t dcb_linkage; - dt_cb_t dcb_func; - __u32 dcb_magic; - char dcb_name[MAX_COMMIT_CB_STR_LEN]; + struct list_head dcb_linkage; + dt_cb_t dcb_func; + __u32 dcb_magic; + char dcb_name[MAX_COMMIT_CB_STR_LEN]; }; /** @@ -681,7 +681,7 @@ struct dt_device { * way, because callbacks are supposed to be added/deleted only during * single-threaded start-up shut-down procedures. */ - cfs_list_t dd_txn_callbacks; + struct list_head dd_txn_callbacks; unsigned int dd_record_fid_accessed:1; }; @@ -711,7 +711,7 @@ struct dt_object { */ struct local_oid_storage { /* all initialized llog systems on this node linked by this */ - cfs_list_t los_list; + struct list_head los_list; /* how many handle's reference this los has */ atomic_t los_refcount; @@ -840,9 +840,9 @@ struct dt_txn_callback { int (*dtc_txn_stop)(const struct lu_env *env, struct thandle *txn, void *cookie); void (*dtc_txn_commit)(struct thandle *txn, void *cookie); - void *dtc_cookie; - __u32 dtc_tag; - cfs_list_t dtc_linkage; + void *dtc_cookie; + __u32 dtc_tag; + struct list_head dtc_linkage; }; void dt_txn_callback_add(struct dt_device *dev, struct dt_txn_callback *cb);