Index: sys/fs/nfs/nfs_commonsubs.c =================================================================== --- sys/fs/nfs/nfs_commonsubs.c +++ sys/fs/nfs/nfs_commonsubs.c @@ -1402,9 +1402,9 @@ if (compare) { if (*retcmpp == 0) { if (thyp != (u_int64_t) - vfs_statfs(vnode_mount(vp))->f_fsid.val[0] || + (&(vnode_mount(vp)->mnt_stat))->f_fsid.val[0] || thyp2 != (u_int64_t) - vfs_statfs(vnode_mount(vp))->f_fsid.val[1]) + (&(vnode_mount(vp)->mnt_stat))->f_fsid.val[1]) *retcmpp = NFSERR_NOTSAME; } } else if (nap != NULL) { Index: sys/fs/nfs/nfsdport.h =================================================================== --- sys/fs/nfs/nfsdport.h +++ sys/fs/nfs/nfsdport.h @@ -105,7 +105,6 @@ * A little bit of Darwin vfs kpi. */ #define vnode_mount(v) ((v)->v_mount) -#define vfs_statfs(m) (&((m)->mnt_stat)) #define NFSPATHLEN_T size_t Index: sys/fs/nfs/nfskpiport.h =================================================================== --- sys/fs/nfs/nfskpiport.h +++ sys/fs/nfs/nfskpiport.h @@ -36,7 +36,6 @@ * Darwin8 and hopefully subsequent releases from Apple.) */ typedef struct mount * mount_t; -#define vfs_statfs(m) (&((m)->mnt_stat)) #define vfs_flags(m) ((m)->mnt_flag) typedef struct vnode * vnode_t; Index: sys/fs/nfs/nfsport.h =================================================================== --- sys/fs/nfs/nfsport.h +++ sys/fs/nfs/nfsport.h @@ -1051,11 +1051,6 @@ #define NFSHASONEOPENOWN(n) (((n)->nm_flag & NFSMNT_ONEOPENOWN) != 0 && \ (n)->nm_minorvers > 0) -/* - * Gets the stats field out of the mount structure. - */ -#define vfs_statfs(m) (&((m)->mnt_stat)) - /* * Set boottime. */