Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2012 10:54:44 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235394 - head/sys/boot/zfs
Message-ID:  <201205131054.q4DAsira080114@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205131054.q4DAsira080114>