git://git.camperquake.de
/
zfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1e411a4
)
Export ZFS symbols needed by Lustre.
author
Ricardo M. Correia
<ricardo.correia@oracle.com>
Fri, 17 Sep 2010 23:07:24 +0000
(16:07 -0700)
committer
Brian Behlendorf
<behlendorf1@llnl.gov>
Fri, 17 Sep 2010 23:24:15 +0000
(16:24 -0700)
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>
module/zfs/zrlock.c
patch
|
blob
|
history
diff --git
a/module/zfs/zrlock.c
b/module/zfs/zrlock.c
index
3613443
..
84123f9
100644
(file)
--- a/
module/zfs/zrlock.c
+++ b/
module/zfs/zrlock.c
@@
-194,3
+194,14
@@
zrl_owner(zrlock_t *zrl)
return (zrl->zr_owner);
}
#endif
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