Whamcloud - gitweb
b=17299
[fs/lustre-release.git] / lustre / include / lustre / lustre_idl.h
index 1007e03..38517bd 100644 (file)
@@ -760,9 +760,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 */
@@ -798,7 +795,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 */
 };