diff options
| author | Trond Myklebust <trondmy@gmail.com> | 2020-02-03 01:57:08 +0300 |
|---|---|---|
| committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-02-04 00:35:07 +0300 |
| commit | 7ccbddbe3e67591a02ddd20078d1241bd8fe79f3 (patch) | |
| tree | 84a93a414f74d858ecb10c41ba1a1cfc61476344 /lib/string_helpers.c | |
| parent | a8bd9ddf397be8e0d812ce3da4e40440ac25f6d0 (diff) | |
| download | linux-7ccbddbe3e67591a02ddd20078d1241bd8fe79f3.tar.xz | |
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/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
