From aca9e6290f4eeb4251393ef14939246698a2f5d7 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 10 Oct 2008 19:08:50 +0000 Subject: [PATCH] b=17299 i=adilger i=nathan rename MAXPOOLAME with LOV_MAXPOOLNAME --- lustre/mgs/mgs_handler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/mgs/mgs_handler.c b/lustre/mgs/mgs_handler.c index ce3bf8b..c4373a1 100644 --- a/lustre/mgs/mgs_handler.c +++ b/lustre/mgs/mgs_handler.c @@ -704,7 +704,7 @@ static int mgs_iocontrol_pool(struct obd_device *obd, if (fsname == NULL) RETURN(-ENOMEM); - OBD_ALLOC(poolname, MAXPOOLNAME + 1); + OBD_ALLOC(poolname, LOV_MAXPOOLNAME + 1); if (poolname == NULL) { rc = -ENOMEM; GOTO(out_pool, rc); @@ -794,7 +794,7 @@ out_pool: OBD_FREE(fsname, MTI_NAME_MAXLEN); if (poolname != NULL) - OBD_FREE(poolname, MAXPOOLNAME + 1); + OBD_FREE(poolname, LOV_MAXPOOLNAME + 1); RETURN(rc); } -- 1.8.3.1