summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/fd/fdops.c
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/fd/fdops.c
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/fd/fdops.c')
-rw-r--r--usr/src/uts/common/fs/fd/fdops.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr/src/uts/common/fs/fd/fdops.c b/usr/src/uts/common/fs/fd/fdops.c
index 3288872146..8c398be2ee 100644
--- a/usr/src/uts/common/fs/fd/fdops.c
+++ b/usr/src/uts/common/fs/fd/fdops.c
@@ -19,12 +19,9 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All rights reserved. */
@@ -549,7 +546,7 @@ static vfsdef_t vfw = {
VFSDEF_VERSION,
"fd",
fdinit,
- VSW_HASPROTO,
+ VSW_HASPROTO | VSW_ZMOUNT,
&fdfs_mntopts
};