]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Replace mbuf macros with the code they would generate in the NFS code.
authorrmacklem <rmacklem@FreeBSD.org>
Thu, 9 Apr 2020 23:11:19 +0000 (23:11 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Thu, 9 Apr 2020 23:11:19 +0000 (23:11 +0000)
commit62cd360a7fa7cf80c01082b373c6b257346db5eb
treefa027801cb72e07d45266689face61bd2265f428
parent2c8b0d99731d1339b9338bc836379b9cecf69788
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 conversion will be committed one file at a time.
sys/fs/nfs/nfs_commonsubs.c