]> 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 23:37:58 +0000 (23:37 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Sat, 11 Apr 2020 23:37:58 +0000 (23:37 +0000)
commit4bc4f60d0d80e93b19ba7a15098fb70b59d6076e
tree22384acbf74fde175994eb6ed515925eaa4597d5
parent5ff702b4d4812b2ec9090e05d949cedca6c4c2f9
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.

This is the final patch of this series and the macros should now be
able to be deleted from the .h files in a future commit.
sys/fs/nfs/nfs_commonkrpc.c
sys/fs/nfsclient/nfs_clrpcops.c