From 1c667e7fdfeab5a829ec513176ec91e8cd908aff Mon Sep 17 00:00:00 2001 From: thib Date: Fri, 8 Aug 2008 19:49:09 +0000 Subject: [PATCH] remove an if notyet block from sys_fstatfs(), that will never be needed, softupdates are reported too statfs via other means. missed this block in in rev1.148 where the same block was removed from sys_statfs(). --- 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 b746627001c..fee38c2fae1 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_syscalls.c,v 1.148 2008/07/28 14:21:17 thib Exp $ */ +/* $OpenBSD: vfs_syscalls.c,v 1.149 2008/08/08 19:49:09 thib Exp $ */ /* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */ /* @@ -604,10 +604,7 @@ sys_fstatfs(struct proc *p, void *v, register_t *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 + return (copyout_statfs(sp, SCARG(uap, buf), p)); } -- 2.20.1