Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/fs/tmpfs Pull up following revision(s) (requested by ...
details: https://anonhg.NetBSD.org/src/rev/761ac0f6aa9a
branches: netbsd-9
changeset: 1001546:761ac0f6aa9a
user: martin <martin%NetBSD.org@localhost>
date: Tue Mar 03 18:48:40 2020 +0000
description:
Pull up following revision(s) (requested by rin in ticket #753):
sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.75
remove an always false check and its' "This can never happen?" comment.
diffstat:
sys/fs/tmpfs/tmpfs_vfsops.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r 698b9f85827a -r 761ac0f6aa9a sys/fs/tmpfs/tmpfs_vfsops.c
--- a/sys/fs/tmpfs/tmpfs_vfsops.c Tue Mar 03 18:44:20 2020 +0000
+++ b/sys/fs/tmpfs/tmpfs_vfsops.c Tue Mar 03 18:48:40 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tmpfs_vfsops.c,v 1.74 2019/01/01 10:06:54 hannken Exp $ */
+/* $NetBSD: tmpfs_vfsops.c,v 1.74.4.1 2020/03/03 18:48:40 martin Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tmpfs_vfsops.c,v 1.74 2019/01/01 10:06:54 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tmpfs_vfsops.c,v 1.74.4.1 2020/03/03 18:48:40 martin Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -132,10 +132,6 @@
if (args->ta_root_uid == VNOVAL || args->ta_root_gid == VNOVAL)
return EINVAL;
- /* This can never happen? */
- if ((args->ta_root_mode & ALLPERMS) == VNOVAL)
- return EINVAL;
-
/* Get the memory usage limit for this file-system. */
if (args->ta_size_max < PAGE_SIZE) {
memlimit = UINT64_MAX;
Home |
Main Index |
Thread Index |
Old Index