Print this page
8115 parallel zfs mount

@@ -21,10 +21,11 @@
 
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  * Copyright 2016 Nexenta Systems, Inc.
+ * Copyright (c) 2017 by Delphix. All rights reserved.
  */
 
 /*      Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T     */
 /*        All Rights Reserved   */
 

@@ -194,11 +195,11 @@
 
 static vfsdef_t vfw = {
         VFSDEF_VERSION,
         "ufs",
         ufsinit,
-        VSW_HASPROTO|VSW_CANREMOUNT|VSW_STATS|VSW_CANLOFI,
+        VSW_HASPROTO|VSW_CANREMOUNT|VSW_STATS|VSW_CANLOFI|VSW_MOUNTDEV,
         &ufs_mntopts
 };
 
 /*
  * Module linkage information for the kernel.

@@ -257,11 +258,10 @@
 
 
 static int
 ufs_mount(struct vfs *vfsp, struct vnode *mvp, struct mounta *uap,
         struct cred *cr)
-
 {
         char *data = uap->dataptr;
         int datalen = uap->datalen;
         dev_t dev;
         struct vnode *lvp = NULL;