From: Ricardo M. Correia Date: Fri, 17 Sep 2010 23:07:24 +0000 (-0700) Subject: Export ZFS symbols needed by Lustre. X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;h=368f4c10aec9da58738750cf33de6d12e4fcb500;p=zfs.git Export ZFS symbols needed by Lustre. Required for the DB_DNODE_ENTER()/DB_DNODE_EXIT() helpers. Signed-off-by: Ricardo M. Correia Signed-off-by: Brian Behlendorf --- diff --git a/module/zfs/zrlock.c b/module/zfs/zrlock.c index 3613443..84123f9 100644 --- a/module/zfs/zrlock.c +++ b/module/zfs/zrlock.c @@ -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