Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-13004 ptlrpc: Allow BULK_BUF_KIOV to accept a kvec
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
nrs.c
diff --git
a/lustre/ptlrpc/nrs.c
b/lustre/ptlrpc/nrs.c
index
43d1a7c
..
52d3225
100644
(file)
--- a/
lustre/ptlrpc/nrs.c
+++ b/
lustre/ptlrpc/nrs.c
@@
-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;