Always unload zpios.ko on exit
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 2 Jun 2011 17:25:35 +0000 (10:25 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 2 Jun 2011 17:25:35 +0000 (10:25 -0700)
commit36391312afdfac5584ca40ef1af7721108ce4c20
tree2a8f10d5ecb2a94da5c07c28fdbf4c38f8388a7d
parent2ea9dc40f88ed84bc3e8022b91dd33cbce94653f
Always unload zpios.ko on exit

We should always unload zpios.ko on exit.  This ensures
that subsequent calls to 'zfs.sh -u' from other utilities
will be able to unload the module stack and properly
cleanup.  This is important for the the --cleanup option
which can be passed to zconfig.sh and zfault.sh.
scripts/zpios.sh