patch-pre2.0.5 linux/drivers/block/linear.c

Next file: linux/drivers/block/raid0.c
Previous file: linux/drivers/block/ide.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file pre2.0.4/linux/drivers/block/linear.c linux/drivers/block/linear.c
@@ -193,10 +193,7 @@
 
 void cleanup_module (void)
 {
-  if (MOD_IN_USE)
-    printk ("md linear : module still busy...\n");
-  else
-    unregister_md_personality (LINEAR);
+  unregister_md_personality (LINEAR);
 }
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this