From 3b9ac23c613ec8026deb57a4174dc9e282be8c45 Mon Sep 17 00:00:00 2001 From: Oleg Drokin Date: Wed, 4 Mar 2015 15:37:24 -0500 Subject: [PATCH] Revert "LU-6081 lfs: check that pool name is not too long" This is causing LU-6234 This reverts commit 6ec0b44ae82638b1a47b8538496936b0f53b4e49. --- lustre/utils/lfs.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lustre/utils/lfs.c b/lustre/utils/lfs.c index f2668ae..fbade49 100644 --- a/lustre/utils/lfs.c +++ b/lustre/utils/lfs.c @@ -815,13 +815,6 @@ static int lfs_setstripe(int argc, char **argv) return CMD_HELP; } - if (pool_name_arg && strlen(pool_name_arg) > LOV_MAXPOOLNAME) { - fprintf(stderr, - "error: %s: pool name '%s' is too long (max is %d characters)\n", - argv[0], pool_name_arg, LOV_MAXPOOLNAME); - return CMD_HELP; - } - /* get the stripe size */ if (stripe_size_arg != NULL) { result = llapi_parse_size(stripe_size_arg, &st_size, -- 1.8.3.1