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

This is a pair for put_nfs_version(), and is used for incrementing the
reference count on the nfs version module. I also updated the callers I
could find who had this hardcoded up until now.

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/namespace.c
fs/nfs/nfs.h