From 0fbb751d81ab0a7c7ddfd8d4e447e075a9f7024f Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 16 Jun 2010 10:02:44 -0700 Subject: 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 --- usr/src/uts/common/fs/dev/sdev_subr.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'usr/src/uts/common/fs/dev/sdev_subr.c') diff --git a/usr/src/uts/common/fs/dev/sdev_subr.c b/usr/src/uts/common/fs/dev/sdev_subr.c index 5550bd6a13..3fced7bb9c 100644 --- a/usr/src/uts/common/fs/dev/sdev_subr.c +++ b/usr/src/uts/common/fs/dev/sdev_subr.c @@ -19,8 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2009 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. */ /* @@ -548,6 +547,9 @@ static struct sdev_vop_table vtab[] = { "ipnet", devipnet_vnodeops_tbl, NULL, &devipnet_vnodeops, devipnet_validate, SDEV_DYNAMIC | SDEV_VTOR | SDEV_NO_NCACHE }, + { "lofi", NULL, NULL, NULL, NULL, SDEV_ZONED }, + { "rlofi", NULL, NULL, NULL, NULL, SDEV_ZONED }, + { NULL, NULL, NULL, NULL, NULL, 0} }; -- cgit v1.2.3