summaryrefslogtreecommitdiffstats
path: root/sys/dev/slice
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1998-06-14 19:00:12 +0000
committerjulian <julian@FreeBSD.org>1998-06-14 19:00:12 +0000
commit87c50f4db68e4222f651ce3521128dc4632e1468 (patch)
tree9d9119c45c8beac4a924eb0eb7eb9ec158b8bb0c /sys/dev/slice
parentb60a0e8d3dd3c0fe6a7e590662e880a39d3a7240 (diff)
downloadFreeBSD-src-87c50f4db68e4222f651ce3521128dc4632e1468.zip
FreeBSD-src-87c50f4db68e4222f651ce3521128dc4632e1468.tar.gz
Horrible hack to allow newfs to work again in SLICE kernels.
Real fix in the making but requires editing 60+ files. (every damn driver)
Diffstat (limited to 'sys/dev/slice')
-rw-r--r--sys/dev/slice/slice_base.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/slice/slice_base.c b/sys/dev/slice/slice_base.c
index e5f23de..60256ed 100644
--- a/sys/dev/slice/slice_base.c
+++ b/sys/dev/slice/slice_base.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: slice_base.c,v 1.2 1998/04/22 01:51:34 julian Exp $
+ * $Id: slice_base.c,v 1.3 1998/04/22 10:25:10 julian Exp $
*/
#include <sys/param.h>
@@ -524,6 +524,9 @@ sliceopen(struct slice *slice, int flags, int mode,
default:
panic("slice: bad open type");
}
+/* XXX only accumulate flags as we don't know about all closes */
+/* XXX */ if ( or_flags )
+/* XXX */ and_flags = ~0;
break;
default:
panic("slice: bad request source");
OpenPOWER on IntegriCloud