summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/tmpfs
diff options
context:
space:
mode:
authorJohn Levon <john.levon@sun.com>2010-06-16 10:02:44 -0700
committerJohn Levon <john.levon@sun.com>2010-06-16 10:02:44 -0700
commit0fbb751d81ab0a7c7ddfd8d4e447e075a9f7024f (patch)
tree547ed35c638d3c30c437e212b458d74268e35afa /usr/src/uts/common/fs/tmpfs
parentded9341448cd6e2573619c7f6fe98909bdd35ec6 (diff)
downloadillumos-joyent-0fbb751d81ab0a7c7ddfd8d4e447e075a9f7024f.tar.gz
PSARC 2010/144 lofi(7D) in non global zones
6354954 lofi support in non-global zones 6942891 prof_lookup_globaldev() leaks rootdir refs 6945005 lofiadm -a /dev/lofi/1: recursive mutex enter 6946486 lofi_ioctl() shouldn't allow disk ioctl()s on /dev/lofictl
Diffstat (limited to 'usr/src/uts/common/fs/tmpfs')
-rw-r--r--usr/src/uts/common/fs/tmpfs/tmp_vfsops.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/src/uts/common/fs/tmpfs/tmp_vfsops.c b/usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
index ad545f4a0b..9bb96e4165 100644
--- a/usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
+++ b/usr/src/uts/common/fs/tmpfs/tmp_vfsops.c
@@ -19,8 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
*/
#include <sys/types.h>
@@ -77,7 +76,7 @@ static vfsdef_t vfw = {
VFSDEF_VERSION,
"tmpfs",
tmpfsinit,
- VSW_HASPROTO|VSW_STATS,
+ VSW_HASPROTO|VSW_STATS|VSW_ZMOUNT,
&tmpfs_proto_opttbl
};