diff options
| author | Trond Myklebust <trondmy@gmail.com> | 2020-02-02 17:57:08 -0500 |
|---|---|---|
| committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-02-03 16:35:07 -0500 |
| commit | 7ccbddbe3e67591a02ddd20078d1241bd8fe79f3 (patch) | |
| tree | 84a93a414f74d858ecb10c41ba1a1cfc61476344 /lib/test-string_helpers.c | |
| parent | a8bd9ddf397be8e0d812ce3da4e40440ac25f6d0 (diff) | |
SUNRPC: Use kmemdup_nul() in rpc_parse_scope_id()
Using kmemdup_nul() is more efficient when the length is known.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
