-/* $OpenBSD: t8.2,v 1.1 2003/07/17 21:04:04 otto Exp $ */
+/* $OpenBSD: t8.2,v 1.2 2024/07/10 09:20:33 krw Exp $ */
/* $NetBSD: kern_malloc.c,v 1.15.4.2 1996/06/13 17:10:56 cgd Exp $ */
/*
char *kmembase, *kmemlimit;
char buckstring[16 * sizeof("123456,")];
int buckstring_init = 0;
-#if defined(KMEMSTATS) || defined(DIAGNOSTIC) || defined(FFS_SOFTUPDATES)
+#if defined(KMEMSTATS) || defined(DIAGNOSTIC)
char *memname[] = INITKMEMNAMES;
char *memall = NULL;
extern struct lock sysctl_kmemlock;
return (EOPNOTSUPP);
#endif
case KERN_MALLOC_KMEMNAMES:
-#if defined(KMEMSTATS) || defined(DIAGNOSTIC) || defined(FFS_SOFTUPDATES)
+#if defined(KMEMSTATS) || defined(DIAGNOSTIC)
if (memall == NULL) {
int totlen;
-/* $OpenBSD: t9.2,v 1.2 2013/12/01 16:40:56 krw Exp $ */
+/* $OpenBSD: t9.2,v 1.3 2024/07/10 09:20:33 krw Exp $ */
/* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */
/*
vp = (struct vnode *)fp->f_data;
vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, p);
error = VOP_FSYNC(vp, fp->f_cred, MNT_WAIT, p);
-#ifdef FFS_SOFTUPDATES
- if (error == 0 && vp->v_mount && (vp->v_mount->mnt_flag & MNT_SOFTDEP))
- error = softdep_fsync(vp);
-#endif
VOP_UNLOCK(vp, 0, p);
FRELE(fp);