Whamcloud - gitweb
Revert "LU-6081 lfs: check that pool name is not too long"
authorOleg Drokin <oleg.drokin@intel.com>
Wed, 4 Mar 2015 20:37:24 +0000 (15:37 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 4 Mar 2015 20:37:24 +0000 (15:37 -0500)
This is causing LU-6234

This reverts commit 6ec0b44ae82638b1a47b8538496936b0f53b4e49.

lustre/utils/lfs.c

index f2668ae..fbade49 100644 (file)
@@ -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,