Skip to content
Commit a8bd9ddf authored by Trond Myklebust's avatar Trond Myklebust Committed by Anna Schumaker
Browse files

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: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
[Anna - Changes to super.c were already made during fscontext conversion]
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 10717f45
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment