]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Replace mbuf macros with the code they would generate in the NFS code.
authorrmacklem <rmacklem@FreeBSD.org>
Sat, 11 Apr 2020 20:57:15 +0000 (20:57 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Sat, 11 Apr 2020 20:57:15 +0000 (20:57 +0000)
commit5ff702b4d4812b2ec9090e05d949cedca6c4c2f9
tree4aa4e098193bb5024ee2e9b394d18b72aaaec7b9
parent273dfc69f85b8b53e93b6eb9eedcb18c248603d1
Replace mbuf macros with the code they would generate in the NFS code.

When the code was ported to Mac OS/X, mbuf handling functions were
converted to using the Mac OS/X accessor functions. For FreeBSD, they
are a simple set of macros in sys/fs/nfs/nfskpiport.h.
Since porting to Mac OS/X is no longer a consideration, replacement of
these macros with the code generated by them makes the code more
readable.
When support for external page mbufs is added as needed by the KERN_TLS,
the patch becomes simpler if done without the macros.

This patch should not result in any semantic change.
sys/fs/nfs/nfs_commonkrpc.c
sys/fs/nfs/nfsm_subs.h
sys/fs/nfsserver/nfs_nfsdcache.c
sys/fs/nfsserver/nfs_nfsdport.c
sys/fs/nfsserver/nfs_nfsdserv.c
sys/fs/nfsserver/nfs_nfsdstate.c