From 2889c8c8b2b0ea172361d6a867e520a23134027d Mon Sep 17 00:00:00 2001 From: krw Date: Wed, 10 Jul 2024 09:24:03 +0000 Subject: [PATCH] Sweep up more softdep crumbs. Nuke #if notyet/#endif chunks containing references to never defined STATFS_SOFTUPD; ok otto@ --- regress/usr.bin/diff/t9.2 | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/regress/usr.bin/diff/t9.2 b/regress/usr.bin/diff/t9.2 index 7b0918cd1b8..7ef3b3aa676 100644 --- a/regress/usr.bin/diff/t9.2 +++ b/regress/usr.bin/diff/t9.2 @@ -1,4 +1,4 @@ -/* $OpenBSD: t9.2,v 1.3 2024/07/10 09:20:33 krw Exp $ */ +/* $OpenBSD: t9.2,v 1.4 2024/07/10 09:24:03 krw Exp $ */ /* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */ /* @@ -591,10 +591,6 @@ sys_statfs(p, v, retval) if ((error = VFS_STATFS(mp, sp, p)) != 0) return (error); sp->f_flags = mp->mnt_flag & MNT_VISFLAGMASK; -#if notyet - if (mp->mnt_flag & MNT_SOFTDEP) - sp->f_eflags = STATFS_SOFTUPD; -#endif /* Don't let non-root see filesystem id (for NFS security) */ if (suser(p->p_ucred, &p->p_acflag)) { bcopy((caddr_t)sp, (caddr_t)&sb, sizeof(sb)); @@ -633,10 +629,6 @@ sys_fstatfs(p, v, retval) if (error) return (error); sp->f_flags = mp->mnt_flag & MNT_VISFLAGMASK; -#if notyet - if (mp->mnt_flag & MNT_SOFTDEP) - sp->f_eflags = STATFS_SOFTUPD; -#endif /* Don't let non-root see filesystem id (for NFS security) */ if (suser(p->p_ucred, &p->p_acflag)) { bcopy((caddr_t)sp, (caddr_t)&sb, sizeof(sb)); @@ -689,10 +681,6 @@ sys_getfsstat(p, v, retval) } sp->f_flags = mp->mnt_flag & MNT_VISFLAGMASK; -#if notyet - if (mp->mnt_flag & MNT_SOFTDEP) - sp->f_eflags = STATFS_SOFTUPD; -#endif if (suser(p->p_ucred, &p->p_acflag)) { bcopy((caddr_t)sp, (caddr_t)&sb, sizeof(sb)); sb.f_fsid.val[0] = sb.f_fsid.val[1] = 0; -- 2.20.1