Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/ufs/ffs/ffs_inode.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/ufs/ffs/ffs_inode.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.124 retrieving revision 1.125 diff -u -p -r1.124 -r1.125 --- src/sys/ufs/ffs/ffs_inode.c 2017/03/18 05:26:40 1.124 +++ src/sys/ufs/ffs/ffs_inode.c 2018/12/10 19:29:41 1.125 @@ -1,4 +1,4 @@ -/* $NetBSD: ffs_inode.c,v 1.124 2017/03/18 05:26:40 riastradh Exp $ */ +/* $NetBSD: ffs_inode.c,v 1.125 2018/12/10 19:29:41 jdolecek Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -61,7 +61,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ffs_inode.c,v 1.124 2017/03/18 05:26:40 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ffs_inode.c,v 1.125 2018/12/10 19:29:41 jdolecek Exp $"); #if defined(_KERNEL_OPT) #include "opt_ffs.h" @@ -220,7 +220,7 @@ ffs_truncate(struct vnode *ovp, off_t le struct ufsmount *ump = oip->i_ump; void *dcookie; - UFS_WAPBL_JLOCK_ASSERT(ip->i_ump->um_mountp); + UFS_WAPBL_JLOCK_ASSERT(ump->um_mountp); if (ovp->v_type == VCHR || ovp->v_type == VBLK || ovp->v_type == VFIFO || ovp->v_type == VSOCK) {