X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fquota%2Fqmt_internal.h;h=d94d65d88f5e76f900b3eb68cdc209f79476fa25;hb=59a59cc9d33f94fb857129b255ad42f393d7242e;hp=ac541b23f8447648796dbc6e78d0f8aa0b164ab0;hpb=294e507d34de0d7990ec507334f71ff1d1a7db01;p=fs%2Flustre-release.git diff --git a/lustre/quota/qmt_internal.h b/lustre/quota/qmt_internal.h index ac541b2..d94d65d 100644 --- a/lustre/quota/qmt_internal.h +++ b/lustre/quota/qmt_internal.h @@ -21,7 +21,7 @@ * GPL HEADER END */ /* - * Copyright (c) 2012, Intel Corporation. + * Copyright (c) 2012, 2013, Intel Corporation. * Use is subject to license terms. */ @@ -68,16 +68,16 @@ struct qmt_device { cfs_hash_t *qmt_pool_hash; /* List of pools managed by this master target */ - cfs_list_t qmt_pool_list; + struct list_head qmt_pool_list; /* procfs root directory for this qmt */ - cfs_proc_dir_entry_t *qmt_proc; + struct proc_dir_entry *qmt_proc; /* dedicated thread in charge of space rebalancing */ struct ptlrpc_thread qmt_reba_thread; /* list of lqe entry which need space rebalancing */ - cfs_list_t qmt_reba_list; + struct list_head qmt_reba_list; /* lock protecting rebalancing list */ spinlock_t qmt_reba_lock; @@ -96,10 +96,10 @@ struct qmt_device { */ struct qmt_pool_info { /* link to qmt's pool hash */ - cfs_hlist_node_t qpi_hash; + struct hlist_node qpi_hash; /* chained list of all pools managed by the same qmt */ - cfs_list_t qpi_linkage; + struct list_head qpi_linkage; /* Pool key composed of pool_id | (pool_type << 16) * Only pool ID 0 is supported for now and the pool type is either @@ -130,7 +130,7 @@ struct qmt_pool_info { struct lquota_entry *qpi_grace_lqe[MAXQUOTAS]; /* procfs root directory for this pool */ - cfs_proc_dir_entry_t *qpi_proc; + struct proc_dir_entry *qpi_proc; /* pool directory where all indexes related to this pool instance are * stored */