From 2104c8fe35904a46a32a0e6220cc14adfa7ee960 Mon Sep 17 00:00:00 2001 From: thib Date: Mon, 28 Jul 2008 14:21:17 +0000 Subject: [PATCH] remove an #if noyet block that will never be needed. softupdates are reported too statfs via the mount point flags or the mount_info part of statfs; ok pedro@ --- sys/kern/vfs_syscalls.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 1d3ca1c5e61..b746627001c 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_syscalls.c,v 1.147 2008/06/13 01:59:45 rainer Exp $ */ +/* $OpenBSD: vfs_syscalls.c,v 1.148 2008/07/28 14:21:17 thib Exp $ */ /* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */ /* @@ -571,10 +571,7 @@ sys_statfs(struct proc *p, void *v, register_t *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 + return (copyout_statfs(sp, SCARG(uap, buf), p)); } -- 2.20.1