Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 remove useless flag mangling. It is done...
details: https://anonhg.NetBSD.org/src/rev/72bb1895b233
branches: trunk
changeset: 326291:72bb1895b233
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 24 23:20:33 2014 +0000
description:
remove useless flag mangling. It is done already.
diffstat:
sys/compat/netbsd32/netbsd32_compat_20.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (50 lines):
diff -r 4ad9e8699ab6 -r 72bb1895b233 sys/compat/netbsd32/netbsd32_compat_20.c
--- a/sys/compat/netbsd32/netbsd32_compat_20.c Fri Jan 24 22:44:00 2014 +0000
+++ b/sys/compat/netbsd32/netbsd32_compat_20.c Fri Jan 24 23:20:33 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_compat_20.c,v 1.32 2014/01/24 22:10:09 christos Exp $ */
+/* $NetBSD: netbsd32_compat_20.c,v 1.33 2014/01/24 23:20:33 christos Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_20.c,v 1.32 2014/01/24 22:10:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_20.c,v 1.33 2014/01/24 23:20:33 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -108,7 +108,6 @@
error = 0;
continue;
}
- sb->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
compat_20_netbsd32_from_statvfs(sb, &sb32);
error = copyout(&sb32, sfsp, sizeof(sb32));
if (error) {
@@ -132,7 +131,6 @@
if (error != 0)
goto out;
if (sfsp) {
- sb->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
compat_20_netbsd32_from_statvfs(sb, &sb32);
error = copyout(&sb32, sfsp, sizeof(sb32));
if (error != 0)
@@ -172,7 +170,6 @@
vrele(vp);
if ((error = dostatvfs(mp, sb, l, 0, 0)) != 0)
return (error);
- sb->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
compat_20_netbsd32_from_statvfs(sb, &s32);
return copyout(&s32, SCARG_P32(uap, buf), sizeof(s32));
}
@@ -197,7 +194,6 @@
sb = &mp->mnt_stat;
if ((error = dostatvfs(mp, sb, l, 0, 0)) != 0)
goto out;
- sb->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
compat_20_netbsd32_from_statvfs(sb, &s32);
error = copyout(&s32, SCARG_P32(uap, buf), sizeof(s32));
out:
Home |
Main Index |
Thread Index |
Old Index