]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
scripts: zfs.sh: explicitly unload all modules via rmmod
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Thu, 21 Apr 2022 11:32:06 +0000 (13:32 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 21 Apr 2022 23:33:12 +0000 (16:33 -0700)
commitc8871ff784731f56bab58efe6077fff38fa74c5a
treee226beb532b3d007009d1352b5aed37bfde45039
parentbee24d69295b9d31eed85f5eac7f313250aebf56
scripts: zfs.sh: explicitly unload all modules via rmmod

modprobe -r only works for depmodded modules, but this also means we
have to re-iterate legacy modules, and in the right order

Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13356
scripts/zfs.sh