Message ID | 1642124283-10148-19-git-send-email-jsimmons@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | lustre: update to OpenSFS Jan 13, 2022 | expand |
diff --git a/net/lnet/libcfs/libcfs_string.c b/net/lnet/libcfs/libcfs_string.c index 4259f8b8..0563c42 100644 --- a/net/lnet/libcfs/libcfs_string.c +++ b/net/lnet/libcfs/libcfs_string.c @@ -154,6 +154,7 @@ int cfs_str2mask(const char *str, const char *(*bit2str)(int bit), /* there is no the delimeter in the string */ end = next->ls_str + next->ls_len; next->ls_str = NULL; + next->ls_len = 0; } else { next->ls_str = end + 1; next->ls_len -= (end - res->ls_str + 1);