Export symbols for the VFS API

Export all symbols already marked extern in the zfs_vfsops.h
header.  Several non-static symbols have also been added to
the header and exportewd.  This allows external modules to
more easily create and manipulate properly created ZFS
filesystem type datasets.

Rename zfsvfs_teardown() to zfs_sb_teardown and export it.
This is done simply for consistency with the rest of the code
base.  All other zfsvfs_* functions have already been renamed.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
Brian Behlendorf
2011-10-10 10:42:59 -07:00
parent 3646c3f2b5
commit 86f35f34f4
3 changed files with 15 additions and 5 deletions
+1 -1
View File
@@ -2123,7 +2123,7 @@ ztest_zil_remount(ztest_ds_t *zd, uint64_t id)
(void) rw_enter(&zd->zd_zilog_lock, RW_WRITER);
/* zfsvfs_teardown() */
/* zfs_sb_teardown() */
zil_close(zd->zd_zilog);
/* zfsvfs_setup() */