diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-08-08 19:49:10 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-08-08 19:49:10 +0000 |
commit | af52a2ae52d03852b1541f5f5394460f0be78aff (patch) | |
tree | b7e25a3aaea99a5aabb37f4491c133c9c33d5ca4 | |
parent | 0803d5d26e2dd17745f1b26c5c7b29a000594113 (diff) |
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)); } |