From 77e1bce529a33510234a6f0daf16003392d77ed2 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 10 Oct 2008 19:08:42 +0000 Subject: [PATCH] b=17299 i=adilger i=nathan rename MAXPOOLAME with LOV_MAXPOOLNAME --- lustre/include/obd.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lustre/include/obd.h b/lustre/include/obd.h index a4b1cfb..e16fb04 100644 --- a/lustre/include/obd.h +++ b/lustre/include/obd.h @@ -147,7 +147,7 @@ struct lov_stripe_md { __u32 lw_stripe_size; /* size of the stripe */ __u32 lw_pattern; /* striping pattern (RAID0, RAID1) */ unsigned lw_stripe_count; /* number of objects being striped over */ - char lw_pool_name[MAXPOOLNAME]; /* pool name */ + char lw_pool_name[LOV_MAXPOOLNAME]; /* pool name */ } lsm_wire; struct lov_array_info *lsm_array; /*Only for joined file array info*/ @@ -669,14 +669,14 @@ struct lov_tgt_desc { #define pool_tgt(_p, _i) _p->pool_lov->lov_tgts[_p->pool_obds.op_array[_i]] struct pool_desc { - char pool_name[MAXPOOLNAME + 1]; /* name of pool */ - struct ost_pool pool_obds; /* pool members */ - struct lov_qos_rr pool_rr; /* round robin qos */ - struct hlist_node pool_hash; /* access by poolname */ - struct list_head pool_list; /* serial access */ - cfs_proc_dir_entry_t *pool_proc_entry; /* file in /proc */ - struct lov_obd *pool_lov; /* lov obd to which this - pool belong */ + char pool_name[LOV_MAXPOOLNAME + 1]; /* name of pool */ + struct ost_pool pool_obds; /* pool members */ + struct lov_qos_rr pool_rr; /* round robin qos */ + struct hlist_node pool_hash; /* access by poolname */ + struct list_head pool_list; /* serial access */ + cfs_proc_dir_entry_t *pool_proc_entry; /* file in /proc */ + struct lov_obd *pool_lov; /* lov obd to which this + pool belong */ }; struct lov_obd { -- 1.8.3.1