Page MenuHomeFreeBSD

nfs: Mark unused statistics variable as reserved
ClosedPublic

Authored by asomers on Nov 17 2020, 6:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 10, 7:15 AM
Unknown Object (File)
Oct 25 2024, 2:54 AM
Unknown Object (File)
Oct 20 2024, 12:45 PM
Unknown Object (File)
Oct 6 2024, 10:44 AM
Unknown Object (File)
Sep 24 2024, 8:42 PM
Unknown Object (File)
Sep 24 2024, 8:41 PM
Unknown Object (File)
Sep 24 2024, 8:41 PM
Unknown Object (File)
Sep 24 2024, 8:41 PM
Subscribers

Details

Summary

nfs: Mark unused statistics variable as reserved

FreeBSD's NFS exporter has long exported some unused statistics fields.
Revision r366992 removed them from nfsstat. This revision renames those
fields in the kernel's exported structures to make it clear to other
consumers that they are unused.

Reported-by: emaste

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Thanks! I started looking at this, but noticed it was not completely trivial (i.e., because of sys/fs/nfs/nfs_commonport.c).

LGTM

This revision was not accepted when it landed; it landed in state Needs Review.Nov 18 2020, 4:36 AM
This revision was automatically updated to reflect the committed changes.

Looks fine. I didn't get around to reviewing it because
I was away from home and didn't take my laptop
charger with me--->dead battery...doh