diff options
author | Trond Myklebust <trondmy@gmail.com> | 2020-02-02 17:57:07 -0500 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2020-02-03 16:35:07 -0500 |
commit | a8bd9ddf397be8e0d812ce3da4e40440ac25f6d0 (patch) | |
tree | a6abffd591fd5839936d4ce7e5f51b423c96e623 /net | |
parent | 10717f45639f6c1bc27b56405252c3a027406d92 (diff) |
NFS: Replace various occurrences of kstrndup() with kmemdup_nul()
When we already know the string length, it is more efficient to
use kmemdup_nul().
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
[Anna - Changes to super.c were already made during fscontext conversion]
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions