]> git.proxmox.com Git - mirror_spl.git/commit
Retire spl_module_init()/spl_module_fini()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 18 Feb 2015 23:24:15 +0000 (15:24 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 27 Feb 2015 21:43:39 +0000 (13:43 -0800)
commitc1bc8e610be8bf1cc8170f788a89a9ee257eb51f
tree1500d76f5534ba22388e2bc73fe2fc52d2cbf164
parent086476f92005506cb07e75f889e8ddb69026e842
Retire spl_module_init()/spl_module_fini()

In the original implementation of the SPL wrappers were provided
for module initialization and cleanup.  This was done to abstract
away any compatibility code which might be needed for the SPL.

As it turned out the only significant compatibility issue was that
the default pwd during module load differed under Illumos and Linux.
Since this is such as minor thing and the wrappers complicate the
code they are being retired.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue zfsonlinux/zfs#2985
include/linux/Makefile.am
include/linux/module_compat.h [deleted file]
module/spl/spl-generic.c
module/splat/splat-ctl.c