svn commit: r264730 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Alexander Motin mav at FreeBSD.org
Mon Apr 21 16:35:14 UTC 2014


Author: mav
Date: Mon Apr 21 16:35:14 2014
New Revision: 264730
URL: http://svnweb.freebsd.org/changeset/base/264730

Log:
  MFC r264341:
  Create zvol devices on zfs clone.
  
  While big and shiny patch is not ready, it is better to have something.
  
  PR:             kern/178999

Modified:
  stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c
Directory Properties:
  stable/9/   (props changed)
  stable/9/sys/   (props changed)
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)

Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c
==============================================================================
--- stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c	Mon Apr 21 16:33:49 2014	(r264729)
+++ stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c	Mon Apr 21 16:35:14 2014	(r264730)
@@ -3352,6 +3352,10 @@ zfs_ioc_clone(const char *fsname, nvlist
 		if (error != 0)
 			(void) dsl_destroy_head(fsname);
 	}
+#ifdef __FreeBSD__
+	if (error == 0)
+		zvol_create_minors(fsname);
+#endif
 	return (error);
 }
 


More information about the svn-src-all mailing list