Whamcloud - gitweb
b=17299
authornathan <nathan>
Fri, 10 Oct 2008 19:08:45 +0000 (19:08 +0000)
committernathan <nathan>
Fri, 10 Oct 2008 19:08:45 +0000 (19:08 +0000)
i=adilger
i=nathan
rename MAXPOOLAME with LOV_MAXPOOLNAME

lustre/include/lustre/lustre_idl.h

index 3bcc48e..855b28d 100644 (file)
@@ -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 */
 };