patch-2.4.18 linux/drivers/md/raid5.c

Next file: linux/drivers/media/radio/radio-gemtek-pci.c
Previous file: linux/drivers/md/raid1.c
Back to the patch index
Back to the overall index

diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/drivers/md/raid5.c linux/drivers/md/raid5.c
@@ -1293,10 +1293,8 @@
 
 	handled = 0;
 
-	if (mddev->sb_dirty) {
-		mddev->sb_dirty = 0;
+	if (mddev->sb_dirty)
 		md_update_sb(mddev);
-	}
 	md_spin_lock_irq(&conf->device_lock);
 	while (1) {
 		struct list_head *first;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)