Whamcloud - gitweb
LU-12514 obdclass: Drop FS_HAS_FIEMAP compat macro
[fs/lustre-release.git] / lustre / ptlrpc / nrs.c
index 43d1a7c..52d3225 100644 (file)
@@ -292,6 +292,8 @@ static int nrs_policy_start_locked(struct ptlrpc_nrs_policy *policy, char *arg)
                        CERROR("NRS: arg '%s' is too long\n", arg);
                        GOTO(out, rc = -E2BIG);
                }
+       } else {
+               policy->pol_arg[0] = '\0';
        }
 
        policy->pol_state = NRS_POL_STATE_STARTED;