-/* $OpenBSD: t9.2,v 1.3 2024/07/10 09:20:33 krw Exp $ */
+/* $OpenBSD: t9.2,v 1.4 2024/07/10 09:24:03 krw Exp $ */
/* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */
/*
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
/* Don't let non-root see filesystem id (for NFS security) */
if (suser(p->p_ucred, &p->p_acflag)) {
bcopy((caddr_t)sp, (caddr_t)&sb, sizeof(sb));
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
/* Don't let non-root see filesystem id (for NFS security) */
if (suser(p->p_ucred, &p->p_acflag)) {
bcopy((caddr_t)sp, (caddr_t)&sb, sizeof(sb));
}
sp->f_flags = mp->mnt_flag & MNT_VISFLAGMASK;
-#if notyet
- if (mp->mnt_flag & MNT_SOFTDEP)
- sp->f_eflags = STATFS_SOFTUPD;
-#endif
if (suser(p->p_ucred, &p->p_acflag)) {
bcopy((caddr_t)sp, (caddr_t)&sb, sizeof(sb));
sb.f_fsid.val[0] = sb.f_fsid.val[1] = 0;