summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2012-05-13 10:54:43 +0000
committeravg <avg@FreeBSD.org>2012-05-13 10:54:43 +0000
commit7a12082a7a8be0bf81e25d412065a88dacb2bde3 (patch)
treed742c5e42e7fba7933f8ea763381e1b7e53433c9 /sys/boot
parent05e1e5ec457aea2a34127496411fc85cf85e4a13 (diff)
downloadFreeBSD-src-7a12082a7a8be0bf81e25d412065a88dacb2bde3.zip
FreeBSD-src-7a12082a7a8be0bf81e25d412065a88dacb2bde3.tar.gz
zfs boot: cleanup remnants of temporary compat code
MFC after: 1 month
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/zfs/zfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/boot/zfs/zfs.c b/sys/boot/zfs/zfs.c
index 2601306..cffb19e 100644
--- a/sys/boot/zfs/zfs.c
+++ b/sys/boot/zfs/zfs.c
@@ -56,7 +56,6 @@ static int zfs_stat(struct open_file *f, struct stat *sb);
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_file *f)
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 */
OpenPOWER on IntegriCloud