Export ZFS symbols needed by Lustre.

Required for the DB_DNODE_ENTER()/DB_DNODE_EXIT() helpers.

Signed-off-by: Ricardo M. Correia <ricardo.correia@oracle.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
Ricardo M. Correia 2010-09-17 16:07:24 -07:00 committed by Brian Behlendorf
parent 1e411a4c12
commit 368f4c10ae
1 changed files with 11 additions and 0 deletions

View File

@ -194,3 +194,14 @@ zrl_owner(zrlock_t *zrl)
return (zrl->zr_owner);
}
#endif
#if defined(_KERNEL) && defined(HAVE_SPL)
#ifdef ZFS_DEBUG
EXPORT_SYMBOL(zrl_add_debug);
#else
EXPORT_SYMBOL(zrl_add);
#endif
EXPORT_SYMBOL(zrl_remove);
#endif