From debdbeb6839b01a0726012aea8aff17423e768ad Mon Sep 17 00:00:00 2001 From: "Thordur I. Bjornsson" Date: Mon, 28 Jul 2008 14:21:18 +0000 Subject: 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(-) (limited to 'sys/kern') 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)); } -- cgit v1.2.3