svn commit: r235394 - head/sys/boot/zfs

Andriy Gapon avg at FreeBSD.org
Sun May 13 10:54:44 UTC 2012


Author: avg
Date: Sun May 13 10:54:43 2012
New Revision: 235394
URL: http://svn.freebsd.org/changeset/base/235394

Log:
  zfs boot: cleanup remnants of temporary compat code
  
  MFC after:	1 month

Modified:
  head/sys/boot/zfs/zfs.c

Modified: head/sys/boot/zfs/zfs.c
==============================================================================
--- head/sys/boot/zfs/zfs.c	Sun May 13 10:31:08 2012	(r235393)
+++ head/sys/boot/zfs/zfs.c	Sun May 13 10:54:43 2012	(r235394)
@@ -56,7 +56,6 @@ static int	zfs_stat(struct open_file *f,
 static int	zfs_readdir(struct open_file *f, struct dirent *d);
 
 struct devsw zfs_dev;
-struct devsw zfs_dev_compat;
 
 struct fs_ops zfs_fsops = {
 	"zfs",
@@ -90,7 +89,7 @@ zfs_open(const char *upath, struct open_
 	struct file *fp;
 	int rc;
 
-	if (f->f_dev != &zfs_dev && f->f_dev != &zfs_dev_compat)
+	if (f->f_dev != &zfs_dev)
 		return (EINVAL);
 
 	/* allocate file system specific data structure */


More information about the svn-src-head mailing list