summaryrefslogtreecommitdiff
path: root/sys/xfs/xfs_vfsops-common.c
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2009-01-15 07:47:06 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2009-01-15 07:47:06 +0000
commit315a82270c387767088c4a7fbdbcc722b1ad74b6 (patch)
tree5ca04e5f4fcd52e53f97f267517418c7ffa01d2d /sys/xfs/xfs_vfsops-common.c
parent7290e5ade3abb02763a90b6ed059391c3a55358a (diff)
Don't use (type *)var as an lvalue in assigment, it's incorrect.
Provide proper assignment macro instead. No binary change. ok beck@
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);