Add splat module to zfs.sh script

The splat module is only needed for the spl regression tests.
But if we add it to MODULES then 'zfs.sh -u' will be able to
unload it if needed,  The downside if 'zfs.sh' will always
load it but it's overhead is minimal and in a production
setting you'll always be doing a 'modprobe zfs' anyway so
this is really just for testing.
This commit is contained in:
Brian Behlendorf 2010-07-28 15:02:27 -07:00
parent 9662934bd9
commit 1510a95acd
2 changed files with 2 additions and 1 deletions

View File

@ -74,6 +74,7 @@ KERNEL_MODULES=( \\
SPL_MODULES=( \\
\${SPLBUILD}/spl/spl.ko \\
\${SPLBUILD}/splat/splat.ko \\
)
ZFS_MODULES=( \\

View File

@ -11,7 +11,7 @@ SCRIPT_CONFIG=.script-config
if [ -f "${basedir}/../${SCRIPT_CONFIG}" ]; then
. "${basedir}/../${SCRIPT_CONFIG}"
else
MODULES=(zlib_deflate spl zavl znvpair zunicode zcommon zfs)
MODULES=(zlib_deflate spl splat zavl znvpair zunicode zcommon zfs)
fi
PROG="<define PROG>"