From: nathan Date: Fri, 10 Oct 2008 19:08:45 +0000 (+0000) Subject: b=17299 X-Git-Tag: v1_7_120~1^94 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=1d91d68ef3a9a2dcff89f6d4327e0ad643980c05;p=fs%2Flustre-release.git b=17299 i=adilger i=nathan rename MAXPOOLAME with LOV_MAXPOOLNAME --- diff --git a/lustre/include/lustre/lustre_idl.h b/lustre/include/lustre/lustre_idl.h index 3bcc48e..855b28d 100644 --- a/lustre/include/lustre/lustre_idl.h +++ b/lustre/include/lustre/lustre_idl.h @@ -504,9 +504,6 @@ typedef __u32 obd_count; #define LOV_OBJECT_GROUP_DEFAULT ~0ULL #define LOV_OBJECT_GROUP_CLEAR 0ULL -#define MAXPOOLNAME 16 -#define POOLNAMEF "%.16s" - #define lov_ost_data lov_ost_data_v1 struct lov_ost_data_v1 { /* per-stripe data structure (little-endian)*/ __u64 l_object_id; /* OST object ID */ @@ -533,7 +530,7 @@ struct lov_mds_md_v3 { /* LOV EA mds/wire data (little-endian) */ __u64 lmm_object_gr; /* LOV object group */ __u32 lmm_stripe_size; /* size of stripe in bytes */ __u32 lmm_stripe_count; /* num stripes in use for this object */ - char lmm_pool_name[MAXPOOLNAME]; /* must be 32bit aligned */ + char lmm_pool_name[LOV_MAXPOOLNAME]; /* must be 32bit aligned */ struct lov_ost_data_v1 lmm_objects[0]; /* per-stripe data */ };