Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/tmpfs Remove RO check in tmpfs_putpages for now, the ...
details: https://anonhg.NetBSD.org/src/rev/37813f66a20c
branches: trunk
changeset: 350425:37813f66a20c
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Jan 11 12:12:32 2017 +0000
description:
Remove RO check in tmpfs_putpages for now, the syncer doesn't like the
error code.
diffstat:
sys/fs/tmpfs/tmpfs_vnops.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r d9cdbedfb7fd -r 37813f66a20c sys/fs/tmpfs/tmpfs_vnops.c
--- a/sys/fs/tmpfs/tmpfs_vnops.c Wed Jan 11 12:10:48 2017 +0000
+++ b/sys/fs/tmpfs/tmpfs_vnops.c Wed Jan 11 12:12:32 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tmpfs_vnops.c,v 1.128 2016/08/20 12:37:08 hannken Exp $ */
+/* $NetBSD: tmpfs_vnops.c,v 1.129 2017/01/11 12:12:32 joerg Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tmpfs_vnops.c,v 1.128 2016/08/20 12:37:08 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tmpfs_vnops.c,v 1.129 2017/01/11 12:12:32 joerg Exp $");
#include <sys/param.h>
#include <sys/dirent.h>
@@ -1246,11 +1246,6 @@
return 0;
}
- if ((vp->v_mount->mnt_flag & MNT_RDONLY) != 0) {
- mutex_exit(vp->v_interlock);
- return EROFS;
- }
-
node = VP_TO_TMPFS_NODE(vp);
uobj = node->tn_spec.tn_reg.tn_aobj;
Home |
Main Index |
Thread Index |
Old Index