diff options
author | Mike Snitzer <snitzer@kernel.org> | 2024-11-16 04:41:04 +0300 |
---|---|---|
committer | Anna Schumaker <anna.schumaker@oracle.com> | 2025-01-15 01:05:10 +0300 |
commit | 779a395189c692eec0246e7df63e2a3c0f0c8508 (patch) | |
tree | adcfd5ea1dd6dcdd87c545c101982d142b07f6ad /scripts/lib/kdoc/kdoc_files.py | |
parent | 0dc73141524403f979a9655b4c55d763dbcb2b88 (diff) | |
download | linux-779a395189c692eec0246e7df63e2a3c0f0c8508.tar.xz |
nfs/localio: remove redundant code and simplify LOCALIO enablement
Remove nfs_local_enable and nfs_local_disable, instead use
nfs_localio_enable_client and nfs_localio_disable_client.
Discontinue use of the NFS_CS_LOCAL_IO bit in the nfs_client struct's
cl_flags to reflect that LOCALIO is enabled; instead just test if the
net member of the nfs_uuid_t struct is set.
Also remove NFS_CS_LOCAL_IO.
Lastly, remove trace_nfs_local_enable and trace_nfs_local_disable
because comparable traces are available from nfs_localio.ko.
Suggested-by: NeilBrown <neilb@suse.de>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions