diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2024-07-10 09:24:04 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2024-07-10 09:24:04 +0000 |
commit | b5018cbeea8ea496722a2466e247b93acb4c4e8f (patch) | |
tree | 01411d4bacb11b611475d5f496f2e5a6a9c09fae /regress | |
parent | aa4d8b560a078e40ce2a2cb0f1570de42e458230 (diff) |
Sweep up more softdep crumbs.
Nuke #if notyet/#endif chunks containing references to never defined
STATFS_SOFTUPD;
ok otto@
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/diff/t9.2 | 14 |
1 files changed, 1 insertions, 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; |