aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/nfs
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2022-06-18 20:43:02 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2022-06-18 20:43:02 +0000
commit6d25ea6d964165fd9a1859a645dedc35ce2606cc (patch)
tree0f35ade9e61080d364c48ed7d9314613f31208bb /sys/fs/nfs
parent8c309d48aabf1cb469334c7716033f177a2715c0 (diff)
downloadsrc-6d25ea6d964165fd9a1859a645dedc35ce2606cc.tar.gz
src-6d25ea6d964165fd9a1859a645dedc35ce2606cc.zip
Diffstat (limited to 'sys/fs/nfs')
-rw-r--r--sys/fs/nfs/nfs_commonsubs.c4
-rw-r--r--sys/fs/nfs/nfsm_subs.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/sys/fs/nfs/nfs_commonsubs.c b/sys/fs/nfs/nfs_commonsubs.c
index e11dba4d2d5e..fd04843f2f03 100644
--- a/sys/fs/nfs/nfs_commonsubs.c
+++ b/sys/fs/nfs/nfs_commonsubs.c
@@ -625,7 +625,6 @@ nfscl_fillsattr(struct nfsrv_descript *nd, struct vattr *vap,
}
}
-#ifndef APPLE
/*
* copies mbuf chain to the uio scatter/gather list
*/
@@ -706,7 +705,6 @@ out:
NFSEXITCODE2(error, nd);
return (error);
}
-#endif /* !APPLE */
/*
* Help break down an mbuf chain by setting the first siz bytes contiguous
@@ -2531,7 +2529,6 @@ nfsv4_fillattr(struct nfsrv_descript *nd, struct mount *mp, vnode_t vp,
aclp = naclp;
}
nfsvno_getfs(&fsinf, isdgram);
-#ifndef APPLE
/*
* Get the VFS_STATFS(), since some attributes need them.
*/
@@ -2558,7 +2555,6 @@ nfsv4_fillattr(struct nfsrv_descript *nd, struct mount *mp, vnode_t vp,
if (fs->f_ffree < 0)
fs->f_ffree = 0;
}
-#endif
/*
* And the NFSv4 ACL...
diff --git a/sys/fs/nfs/nfsm_subs.h b/sys/fs/nfs/nfsm_subs.h
index 671bd23ae313..37cbb76bfc44 100644
--- a/sys/fs/nfs/nfsm_subs.h
+++ b/sys/fs/nfs/nfsm_subs.h
@@ -43,7 +43,6 @@
* other purpose will be dangerous. (they make weird assumptions)
*/
-#ifndef APPLE
/*
* First define what the actual subs. return
*/
@@ -142,7 +141,6 @@ nfsm_dissect_nonblock(struct nfsrv_descript *nd, int siz)
goto nfsmout; \
} \
} while (0)
-#endif /* !APPLE */
#define NFSM_STRSIZ(s, m) \
do { \