]> asedeno.scripts.mit.edu Git - linux.git/commit
NFS: Add a small buffer in nfs_fs_context to avoid string dup
authorDavid Howells <dhowells@redhat.com>
Tue, 10 Dec 2019 12:31:09 +0000 (07:31 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 15 Jan 2020 15:15:17 +0000 (10:15 -0500)
commit48be8a66cf98accca033c42d214698dd64ac4f79
tree2f69bea820a4f41ad00ece55b2fb7e4a34457635
parentcbd071b5daa070976ada8601188fcefc986747d6
NFS: Add a small buffer in nfs_fs_context to avoid string dup

Add a small buffer in nfs_fs_context to avoid string duplication when
parsing numbers.  Also make the parsing function wrapper place the parsed
integer directly in the appropriate nfs_fs_context struct member.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/fs_context.c
fs/nfs/internal.h