summaryrefslogtreecommitdiffstats
path: root/module/zfs/zfs_ctldir.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-01-05 14:46:59 -0800
committerBrian Behlendorf <[email protected]>2011-02-10 09:27:20 -0800
commit4b3f12ecd5a641b182609d7fe78313d53f6e8976 (patch)
tree054cba86ceb3800b221677d97250d543ce6374fd /module/zfs/zfs_ctldir.c
parent960e08fe3e2cdf5217996b9f42a01f7e20f2b97a (diff)
Remove Solaris VFS Hooks
The ZFS code is being restructured to act as a library and a stand alone module. This allows us to leverage most of the existing code with minimal modification. It also means we need to drop the Solaris vfs/vnode functions they will be replaced by Linux equivilants and updated to be Linux friendly.
Diffstat (limited to 'module/zfs/zfs_ctldir.c')
-rw-r--r--module/zfs/zfs_ctldir.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/module/zfs/zfs_ctldir.c b/module/zfs/zfs_ctldir.c
index b7dac213f..c2b8b75e6 100644
--- a/module/zfs/zfs_ctldir.c
+++ b/module/zfs/zfs_ctldir.c
@@ -128,15 +128,6 @@ static vnode_t *zfsctl_mknode_shares(vnode_t *);
static vnode_t *zfsctl_snapshot_mknode(vnode_t *, uint64_t objset);
static int zfsctl_unmount_snap(zfs_snapentry_t *, int, cred_t *);
-static gfs_opsvec_t zfsctl_opsvec[] = {
- { ".zfs", zfsctl_tops_root, &zfsctl_ops_root },
- { ".zfs/snapshot", zfsctl_tops_snapdir, &zfsctl_ops_snapdir },
- { ".zfs/snapshot/vnode", zfsctl_tops_snapshot, &zfsctl_ops_snapshot },
- { ".zfs/shares", zfsctl_tops_shares, &zfsctl_ops_shares_dir },
- { ".zfs/shares/vnode", zfsctl_tops_shares, &zfsctl_ops_shares },
- { NULL }
-};
-
/*
* Root directory elements. We only have two entries
* snapshot and shares.
@@ -160,7 +151,6 @@ static gfs_dirent_t zfsctl_root_entries[] = {
void
zfsctl_init(void)
{
- VERIFY(gfs_make_opsvec(zfsctl_opsvec) == 0);
}
void