patch-2.4.18 linux/drivers/md/raid1.c
Next file: linux/drivers/md/raid5.c
Previous file: linux/drivers/md/multipath.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Jan 14 23:22:48 2002
- Orig file:
linux.orig/drivers/md/raid1.c
- Orig date:
Mon Feb 18 20:18:39 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/drivers/md/raid1.c linux/drivers/md/raid1.c
@@ -1136,11 +1136,8 @@
md_spin_unlock_irqrestore(&retry_list_lock, flags);
mddev = r1_bh->mddev;
- if (mddev->sb_dirty) {
- printk(KERN_INFO "raid1: dirty sb detected, updating.\n");
- mddev->sb_dirty = 0;
+ if (mddev->sb_dirty)
md_update_sb(mddev);
- }
bh = &r1_bh->bh_req;
switch(r1_bh->cmd) {
case SPECIAL:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)