summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4sysctl.c
diff options
context:
space:
mode:
authorTrond Myklebust <trondmy@gmail.com>2020-02-02 17:57:07 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2020-02-03 16:35:07 -0500
commita8bd9ddf397be8e0d812ce3da4e40440ac25f6d0 (patch)
treea6abffd591fd5839936d4ce7e5f51b423c96e623 /fs/nfs/nfs4sysctl.c
parent10717f45639f6c1bc27b56405252c3a027406d92 (diff)
downloadlinux-stable-a8bd9ddf397be8e0d812ce3da4e40440ac25f6d0.tar.gz
linux-stable-a8bd9ddf397be8e0d812ce3da4e40440ac25f6d0.tar.bz2
linux-stable-a8bd9ddf397be8e0d812ce3da4e40440ac25f6d0.zip
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 'fs/nfs/nfs4sysctl.c')
0 files changed, 0 insertions, 0 deletions