summaryrefslogtreecommitdiff
path: root/sys/xfs/xfs_vfsops-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/xfs/xfs_vfsops-common.c')
-rw-r--r--sys/xfs/xfs_vfsops-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/xfs/xfs_vfsops-common.c b/sys/xfs/xfs_vfsops-common.c
index 6752f16b039..b808910c4fc 100644
--- a/sys/xfs/xfs_vfsops-common.c
+++ b/sys/xfs/xfs_vfsops-common.c
@@ -140,7 +140,7 @@ xfs_mount_common_sys(struct mount *mp,
nnfs_init_head(&xfs[minor(dev)].nodehead);
- VFS_TO_NNPFS(mp) = &xfs[minor(dev)];
+ VFS_ASSIGN(mp, &xfs[minor(dev)]);
#if defined(HAVE_KERNEL_VFS_GETNEWFSID)
#if defined(HAVE_TWO_ARGUMENT_VFS_GETNEWFSID)
vfs_getnewfsid(mp, MOUNT_AFS);