diff options
author | 2008-08-08 19:49:09 +0000 | |
---|---|---|
committer | 2008-08-08 19:49:09 +0000 | |
commit | 1c667e7fdfeab5a829ec513176ec91e8cd908aff (patch) | |
tree | 838d1811467b22034ba356890f92fcb3ff3382f0 | |
parent | fix possible memleaks in chunked encoding handler (diff) | |
download | wireguard-openbsd-1c667e7fdfeab5a829ec513176ec91e8cd908aff.tar.xz wireguard-openbsd-1c667e7fdfeab5a829ec513176ec91e8cd908aff.zip |
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().
-rw-r--r-- | sys/kern/vfs_syscalls.c | 7 |
1 files 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)); } |