diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-07-28 14:21:18 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-07-28 14:21:18 +0000 |
commit | debdbeb6839b01a0726012aea8aff17423e768ad (patch) | |
tree | 8d8c6748dd191de49c5efa7cc748d5348361d540 /sys/kern | |
parent | ba0ae2baba78ebb0e831d5c744fab11f133ca5ce (diff) |
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@
Diffstat (limited to 'sys/kern')
-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 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)); } |