]> www.infradead.org Git - users/jedix/linux-maple.git/commit
NFS: Rename get_nfs_version() -> find_nfs_version()
authorAnna Schumaker <anna.schumaker@oracle.com>
Tue, 1 Oct 2024 20:33:42 +0000 (16:33 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 8 Nov 2024 19:17:37 +0000 (14:17 -0500)
commitdf50b5ee0564412e4570abae7767d9baa5911f23
treef890e57683e50dfc2966756d86c9d8542f099e9d
parent11eb537fd85186cdc8654fd1a15efacb5141f90c
NFS: Rename get_nfs_version() -> find_nfs_version()

We have a put_nfs_version() that handles refcounting on the nfs version
module, but get_nfs_version() does much more work to find a version
module based on version number. Let's change 'get' to 'find' to better
match what it's doing.

Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/client.c
fs/nfs/fs_context.c
fs/nfs/nfs.h