Re: [PATCH] md - 3 of 3 - Don't check a device size before bd_get in md.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday March 19, marcelo@conectiva.com.br wrote:
> 
> Its already on my tree.

Great.  This will fix it up.

Thanks.
NeilBrown


Fix compile errors/warnings in md

 ----------- Diffstat output ------------
 ./drivers/md/md.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff ./drivers/md/md.c~current~ ./drivers/md/md.c
--- ./drivers/md/md.c~current~	2003-03-20 09:58:02.000000000 +1100
+++ ./drivers/md/md.c	2003-03-20 10:33:04.000000000 +1100
@@ -2422,7 +2422,7 @@ static int hot_add_disk(mddev_t * mddev,
 		printk(KERN_WARNING "md%d: disk size %d blocks < array size %d\n",
 				mdidx(mddev), size, mddev->sb->size);
 		err = -ENOSPC;
-		gotot abort_export;
+		goto abort_export;
 	}
 	bind_rdev_to_array(rdev, mddev);
 
@@ -3066,7 +3066,7 @@ int md_error(mddev_t *mddev, kdev_t rdev
 	return 0;
 }
 
-static int status_unused(struct seq_file *seq)
+static void status_unused(struct seq_file *seq)
 {
 	int i = 0;
 	mdk_rdev_t *rdev;
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux