diff options
author | Ricardo M. Correia <[email protected]> | 2010-09-17 16:07:24 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-09-17 16:24:15 -0700 |
commit | 368f4c10aec9da58738750cf33de6d12e4fcb500 (patch) | |
tree | e5ea04730c2c12cb40ccfa359d363f1e0f75c7b1 | |
parent | 1e411a4c12b95b1a18028585ae7fd5e51030b25e (diff) |
Export ZFS symbols needed by Lustre.
Required for the DB_DNODE_ENTER()/DB_DNODE_EXIT() helpers.
Signed-off-by: Ricardo M. Correia <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
-rw-r--r-- | module/zfs/zrlock.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/module/zfs/zrlock.c b/module/zfs/zrlock.c index 36134431f..84123f988 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 |